diff --git a/srcpkgs/chroot-m4/chroot-m4.rshlibs b/srcpkgs/chroot-m4/chroot-m4.rshlibs new file mode 100644 index 00000000000..631aa1dda40 --- /dev/null +++ b/srcpkgs/chroot-m4/chroot-m4.rshlibs @@ -0,0 +1 @@ +libc.so.6 diff --git a/srcpkgs/chroot-m4/template b/srcpkgs/chroot-m4/template new file mode 100644 index 00000000000..b5def7c50a8 --- /dev/null +++ b/srcpkgs/chroot-m4/template @@ -0,0 +1,26 @@ +# Template build file for 'chroot-m4'. +pkgname=chroot-m4 +version=1.4.16 +wrksrc="m4-${version}" +distfiles="http://ftp.gnu.org/gnu/m4/m4-$version.tar.bz2" +build_style=gnu-configure +configure_args="--without-included-regex" +short_desc="GNU version of UNIX m4 macro language processor -- for xbps-src use" +maintainer="Juan RP " +checksum=42500c1fddd90bcb161e6b58de931d769929c495c124112d67428a23543db90c +long_desc=" + GNU m4 is an implementation of the traditional UNIX macro + processor. It is mostly SVR4 compatible, although it has some + extensions (for example, handling more than 9 positional parameters to + macros). m4 also has builtin functions for including files, running + shell commands, doing arithmetic, etc. Autoconf needs GNU m4 for + generating configure scripts, but not for running them. + + This package is only meant to be used by xbps-src, don't install it manually." + +bootstrap=yes +conflicts="m4>=0" + +post_install() { + rm -rf ${DESTDIR}/usr/share +}