39 lines
1.2 KiB
Text
39 lines
1.2 KiB
Text
# Template file for 'chroot-coreutils'
|
|
pkgname=chroot-coreutils
|
|
version=8.15
|
|
revision=3
|
|
wrksrc=coreutils-${version}
|
|
distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz"
|
|
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"
|
|
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"
|
|
checksum=837eb377414eae463fee17d0f77e6d76bed79b87bc97ef0c23887710107fd49c
|
|
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
|
|
conflicts="coreutils>=0"
|
|
provides="coreutils-${version}"
|
|
|
|
pre_configure() {
|
|
sed -i 's/^\(SUBDIRS =\).*/\1 lib src/g' Makefile.in
|
|
}
|
|
|
|
post_install() {
|
|
# Create symlinks in /bin.
|
|
vmkdir bin
|
|
for f in true false echo; do
|
|
cd ${DESTDIR}/bin && ln -sf ../usr/bin/$f .
|
|
done
|
|
}
|