void-packages/srcpkgs/chroot-coreutils/template

29 lines
912 B
Text
Raw Normal View History

# Template file for 'chroot-coreutils'
pkgname=chroot-coreutils
2014-01-08 08:04:22 +00:00
version=8.22
revision=3
2014-01-08 08:04:22 +00:00
wrksrc="${pkgname/chroot-}-${version}"
bootstrap=yes
provides="coreutils-${version}_${revision}"
conflicts="coreutils>=0"
build_style=gnu-configure
configure_args="--without-gmp --disable-libcap --disable-xattr
--disable-acl --disable-rpath --disable-nls
--enable-no-install-program=stdbuf,arch,su
--enable-install-program=hostname gl_cv_func_realpath_works=yes"
short_desc="The GNU core utilities - for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/coreutils"
license="GPL-3"
2012-07-09 15:08:42 +00:00
distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz"
2014-01-08 08:04:22 +00:00
checksum=5b3e94998152c017e6c75d56b9b994188eb71bf46d4038a642cb9141f6ff1212
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS+=" -DSLOW_BUT_NO_HACKS";;
esac
2014-01-08 08:04:22 +00:00
post_install() {
rm -rf ${DESTDIR}/usr/lib
rm -rf ${DESTDIR}/usr/share
}