void-packages/templates/coreutils/template

31 lines
1.0 KiB
Plaintext
Raw Normal View History

# Template file for 'coreutils'
pkgname=coreutils
version=7.1
distfiles="http://ftp.gnu.org/gnu/coreutils/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--bindir=$XBPS_DESTDIR/$pkgname-$version/bin
--disable-acl --enable-install-program=hostname --without-gmp
ac_cv_header_selinux_flask_h=no ac_cv_header_selinux_selinux_h=no
ac_cv_header_selinux_context_h=no ac_cv_search_setfilecon=no"
configure_env="PERL=/usr/bin/perl"
short_desc="The GNU core utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=813cb19fa19a885f342664109c7c5810f0081b624ff317bba8d1b6ccd83c2a05
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."
base_chroot=yes
Add_dependency run glibc
post_install()
{
local destdir=$XBPS_DESTDIR/$pkgname-$version
# Most programs expect /usr/bin/env.
install -d ${destdir}/usr/bin
cd ${destdir}/usr/bin && ln -s ../../bin/env .
}