vp-build/templates/coreutils/template
Juan RP 84222395b8 Provide some vars for use in template's targets.
These new vars are DESTDIR (by default XBPS_DESTDIR/pkgname-version),
SRCPKGDESTDIR (XBPS_DESTDIR/sourcepkg-version) and FILESDIR
(XBPS_TEMPLATESDIR/pkgname/files).

This simplifies packages that used them.

--HG--
extra : convert_revision : 287ea7128cb5df19870ca7aff0a3b8f99a11d63a
2009-03-11 06:31:56 +01:00

29 lines
988 B
Plaintext

# 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()
{
# Most programs expect /usr/bin/env.
install -d ${DESTDIR}/usr/bin
cd ${DESTDIR}/usr/bin && ln -s ../../bin/env .
}