chroot-coreutils: install stuff into usr.

This commit is contained in:
Juan RP 2012-02-28 09:35:19 +01:00
parent f559088647
commit acca521f8c

View file

@ -1,12 +1,13 @@
# Template file for 'chroot-coreutils' # Template file for 'chroot-coreutils'
pkgname=chroot-coreutils pkgname=chroot-coreutils
version=8.15 version=8.15
revision=1
wrksrc=coreutils-${version} wrksrc=coreutils-${version}
distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz" distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--bindir=/bin --without-gmp --disable-libcap --disable-xattr configure_args="--without-gmp --disable-libcap --disable-xattr
--disable-acl --disable-rpath --disable-nls --enable-no-install-program=stdbuf,arch,su" --disable-acl --disable-rpath --disable-nls
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version/tools install" --enable-no-install-program=stdbuf,arch,su"
short_desc="The GNU core utilities - for xbps-src use" short_desc="The GNU core utilities - for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/coreutils" homepage="http://www.gnu.org/software/coreutils"
@ -21,6 +22,7 @@ long_desc="
installed as a dependency of base-chroot to create XBPS binary packages." installed as a dependency of base-chroot to create XBPS binary packages."
bootstrap=yes bootstrap=yes
conflicts="coreutils>=0"
pre_configure() { pre_configure() {
sed -i 's/^\(SUBDIRS =\).*/\1 lib src/g' Makefile.in sed -i 's/^\(SUBDIRS =\).*/\1 lib src/g' Makefile.in