New package: chroot-util-linux-2.21.

This commit is contained in:
Juan RP 2012-03-09 02:01:17 +01:00
parent 930db37cff
commit 91a7a07b60
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,2 @@
libc.so.6
libutil.so.1

View File

@ -0,0 +1,34 @@
# Template file for 'chroot-util-linux'
pkgname=chroot-util-linux
version=2.21
wrksrc="util-linux-${version}"
build_style=gnu-configure
configure_args="--without-ncurses --without-udev --disable-libuuid
--disable-libblkid --disable-libmount --disable-mount --disable-losetup
--disable-fsck --disable-partx --disable-uuidd --disable-mountpoint
--disable-fallocate --disable-unshare --disable-nls --disable-wall"
distfiles="${KERNEL_SITE}/utils/util-linux/v2.21/util-linux-${version}.tar.xz"
short_desc="Miscellaneous linux utilities -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://userweb.kernel.org/~kzak/util-linux-ng"
license="GPL-2"
checksum=5192e8ba7dcf3cf0dc447f07b3d177f6cb3fb49dfae54ac45d6c8c7d86eeab0f
long_desc="
The util-linux package contains miscellaneous utility programs. Among
them are utilities for handling file systems, consoles, partitions,
and messages.
This package is only meant to be used by xbps-src, don't install it manually."
bootstrap=yes
conflicts="util-linux>=0"
provides="util-linux-${version}"
replaces="chroot-gnu-getopt>=0"
post_install() {
# Remove unused stuff.
rm -rf ${DESTDIR}/bin
rm -rf ${DESTDIR}/sbin
rm -rf ${DESTDIR}/usr/sbin
rm -rf ${DESTDIR}/usr/share/man
}