void-packages/srcpkgs/coreutils/template
2011-02-05 09:13:18 +01:00

32 lines
1,022 B
Text

# Template file for 'coreutils'
pkgname=coreutils
version=8.10
distfiles="http://ftp.gnu.org/gnu/coreutils/$pkgname-$version.tar.xz"
build_style=gnu_configure
configure_args="--enable-install-program=hostname --bindir=/bin"
short_desc="The GNU core utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=8258785cbab6580f2e0376769a7b98ab3e1ddfca2d6f48e5490a51688d0bee83
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."
Add_dependency run glibc
Add_dependency run gmp
Add_dependency run attr
Add_dependency run acl
Add_dependency run libcap
Add_dependency build perl
Add_dependency build gmp-devel
Add_dependency build attr-devel
Add_dependency build acl-devel
Add_dependency build libcap-devel
Add_dependency build xz
post_install()
{
# Most programs expect /usr/bin/env.
install -d ${DESTDIR}/usr/bin
cd ${DESTDIR}/usr/bin && ln -s ../../bin/env .
}