void-packages/srcpkgs/chroot-gnu-getopt/template

30 lines
822 B
Plaintext
Raw Normal View History

2012-02-28 18:11:19 +01:00
# 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 <xtraeme@gmail.com>"
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"
provides="util-linux-${version}"
2012-02-28 18:11:19 +01:00
do_configure() {
./configure ${CONFIGURE_SHARED_ARGS} --without-ncurses
}
do_build() {
make ${makejobs} -C getopt
}
do_install() {
vinstall getopt/getopt 755 usr/bin
}