2012-02-09 08:49:28 +01:00
|
|
|
# Template file for 'chroot-coreutils'
|
|
|
|
pkgname=chroot-coreutils
|
2014-01-08 09:04:22 +01:00
|
|
|
version=8.22
|
2014-03-17 11:22:57 +01:00
|
|
|
revision=3
|
2014-01-08 09:04:22 +01:00
|
|
|
wrksrc="${pkgname/chroot-}-${version}"
|
|
|
|
bootstrap=yes
|
|
|
|
provides="coreutils-${version}_${revision}"
|
|
|
|
conflicts="coreutils>=0"
|
2012-02-09 08:49:28 +01:00
|
|
|
build_style=gnu-configure
|
2012-02-28 09:35:19 +01:00
|
|
|
configure_args="--without-gmp --disable-libcap --disable-xattr
|
|
|
|
--disable-acl --disable-rpath --disable-nls
|
2012-03-01 07:48:45 +01:00
|
|
|
--enable-no-install-program=stdbuf,arch,su
|
2013-02-05 15:06:12 +01:00
|
|
|
--enable-install-program=hostname gl_cv_func_realpath_works=yes"
|
2012-02-09 08:49:28 +01:00
|
|
|
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 17:08:42 +02:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz"
|
2014-01-08 09:04:22 +01:00
|
|
|
checksum=5b3e94998152c017e6c75d56b9b994188eb71bf46d4038a642cb9141f6ff1212
|
2012-02-09 08:49:28 +01:00
|
|
|
|
2014-01-14 10:34:07 +01:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl) CFLAGS+=" -DSLOW_BUT_NO_HACKS";;
|
|
|
|
esac
|
|
|
|
|
2014-01-08 09:04:22 +01:00
|
|
|
post_install() {
|
|
|
|
rm -rf ${DESTDIR}/usr/lib
|
|
|
|
rm -rf ${DESTDIR}/usr/share
|
2012-02-09 08:49:28 +01:00
|
|
|
}
|