void-packages/templates/coreutils/template
Juan RP 3667f039f2 Install all packages via DESTDIR var and not prefix.
This removes many assignments that were needed before, and fixes
some packages to install its manpage/info files.

--HG--
extra : convert_revision : 5422f921ef81d089ed95ce0c52e5106ea10b2165
2009-03-18 10:02:43 +01:00

28 lines
957 B
Text

# 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="--disable-acl --enable-install-program=hostname
--bindir=/bin --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()
{
# Most programs expect /usr/bin/env.
install -d ${DESTDIR}/usr/bin
cd ${DESTDIR}/usr/bin && ln -s ../../bin/env .
}