2012-02-28 10:13:43 +00:00
|
|
|
# Template build file for 'chroot-m4'.
|
|
|
|
pkgname=chroot-m4
|
|
|
|
version=1.4.16
|
2013-02-05 00:20:02 +00:00
|
|
|
revision=1
|
2012-02-28 10:13:43 +00:00
|
|
|
wrksrc="m4-${version}"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--without-included-regex"
|
2013-02-05 00:20:02 +00:00
|
|
|
homepage="http://www.gnu.org/software/m4/"
|
|
|
|
license="GPL-3"
|
2012-02-28 10:13:43 +00:00
|
|
|
short_desc="GNU version of UNIX m4 macro language processor -- for xbps-src use"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-05 00:20:02 +00:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/m4/m4-$version.tar.bz2"
|
2012-02-28 10:13:43 +00:00
|
|
|
checksum=42500c1fddd90bcb161e6b58de931d769929c495c124112d67428a23543db90c
|
|
|
|
|
|
|
|
bootstrap=yes
|
|
|
|
|
2013-02-05 00:20:02 +00:00
|
|
|
pre_configure() {
|
|
|
|
sed -i -e '/gets is a/d' lib/stdio.in.h
|
|
|
|
}
|
|
|
|
|
2012-02-28 10:13:43 +00:00
|
|
|
post_install() {
|
|
|
|
rm -rf ${DESTDIR}/usr/share
|
|
|
|
}
|
2013-04-12 06:55:23 +00:00
|
|
|
|
|
|
|
chroot-m4_package() {
|
|
|
|
conflicts="m4>=0"
|
|
|
|
provides="m4-${version}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|