2012-02-09 08:49:28 +01:00
|
|
|
# Template file for 'chroot-coreutils'
|
|
|
|
pkgname=chroot-coreutils
|
2012-05-12 10:07:38 +02:00
|
|
|
version=8.17
|
2012-02-09 08:49:28 +01:00
|
|
|
wrksrc=coreutils-${version}
|
|
|
|
distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz"
|
|
|
|
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
|
|
|
|
--enable-install-program=hostname"
|
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-05-12 10:07:38 +02:00
|
|
|
checksum=4e075a0d238072a5bd079046e1f024dc5e0d9133d43a39c73d0b86b0d1e2c5e5
|
2012-02-09 08:49:28 +01:00
|
|
|
long_desc="
|
|
|
|
The GNU Core Utilities are the basic file, shell and text manipulation
|
|
|
|
utilities of the GNU operating system. These are the core utilities
|
|
|
|
which are expected to exist on every operating system.
|
|
|
|
|
|
|
|
This package is not meant to be installed by any user, this must be
|
|
|
|
installed as a dependency of base-chroot to create XBPS binary packages."
|
|
|
|
|
|
|
|
bootstrap=yes
|
2012-02-28 09:35:19 +01:00
|
|
|
conflicts="coreutils>=0"
|
2012-02-28 19:10:35 +01:00
|
|
|
provides="coreutils-${version}"
|
2012-02-09 08:49:28 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
sed -i 's/^\(SUBDIRS =\).*/\1 lib src/g' Makefile.in
|
|
|
|
}
|
2012-03-19 11:29:05 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# Create symlinks in /bin.
|
|
|
|
vmkdir bin
|
|
|
|
for f in true false echo; do
|
|
|
|
cd ${DESTDIR}/bin && ln -sf ../usr/bin/$f .
|
|
|
|
done
|
|
|
|
}
|