void-packages/templates/coreutils/template
Juan RP 1ebe5e6b5e Mega-commit removing deps in xbps-base-chroot.
xbps-src:
  * ALWAYS use the static bins, to avoid breakage in the chroot.
  * Remove XBPS_FETCH_CMD. Use xbps-fetch (static) now that it's
    useful to download all distfiles in xbps-base-system.
  * Use busybox in the chroot and create links in /usr/local/bin
    at creation time. This helps to remove many packages that
    had problems with host/target libs (acl, attr, libarchive, etc).

build templates:
  * Add explicit gettext and texinfo build dependencies in all
    packages that need them, because they aren't built anymore
    by xbps-base-chroot.
  * Fixed some packages using build_style=gnu_makefile, that were
    broken because pre/post_configure() is not executed for a while,
    they should use pre/post_build() instead.

--HG--
extra : convert_revision : 0eaaf4917fd824710d0895e0c984bbc236b0cdf8
2009-10-30 22:14:09 +01:00

27 lines
860 B
Text

# Template file for 'coreutils'
pkgname=coreutils
version=7.6
distfiles="http://ftp.gnu.org/gnu/coreutils/$pkgname-$version.tar.gz"
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=1d9bfe8b427ca5f8cffa0b462f861e4157c946fbeaf0884d273bbd6cab1c25d4
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."
essential=yes
Add_dependency run glibc
Add_dependency full gmp
Add_dependency full attr
Add_dependency full acl
Add_dependency build perl
post_install()
{
# Most programs expect /usr/bin/env.
install -d ${DESTDIR}/usr/bin
cd ${DESTDIR}/usr/bin && ln -s ../../bin/env .
}