diff --git a/srcpkgs/chroot-gnu-getopt/chroot-gnu-getopt.rshlibs b/srcpkgs/chroot-gnu-getopt/chroot-gnu-getopt.rshlibs new file mode 100644 index 0000000000..631aa1dda4 --- /dev/null +++ b/srcpkgs/chroot-gnu-getopt/chroot-gnu-getopt.rshlibs @@ -0,0 +1 @@ +libc.so.6 diff --git a/srcpkgs/chroot-gnu-getopt/template b/srcpkgs/chroot-gnu-getopt/template new file mode 100644 index 0000000000..7da9499ce4 --- /dev/null +++ b/srcpkgs/chroot-gnu-getopt/template @@ -0,0 +1,28 @@ +# Template file for 'chroot-gnu-getopt' +pkgname=chroot-gnu-getopt +version=2.21 +wrksrc="util-linux-${version}" +distfiles="${KERNEL_SITE}/utils/util-linux/v2.21/util-linux-${version}.tar.xz" +short_desc="GNU getopt(1) implementation from util-linux" +maintainer="Juan RP " +homepage="http://userweb.kernel.org/~kzak/util-linux-ng" +license="GPL-2" +checksum=5192e8ba7dcf3cf0dc447f07b3d177f6cb3fb49dfae54ac45d6c8c7d86eeab0f +long_desc=" + The ${pkgname} package the GNU enhanced getopt(1) utility. + + This package is only meant to be used by xbps-src, don't install it manually." + +conflicts="util-linux>=0" + +do_configure() { + ./configure ${CONFIGURE_SHARED_ARGS} --without-ncurses +} + +do_build() { + make ${makejobs} -C getopt +} + +do_install() { + vinstall getopt/getopt 755 usr/bin +}