2008-10-31 01:09:14 +00:00
|
|
|
# Template file for 'util-linux-ng'
|
|
|
|
pkgname=util-linux-ng
|
2009-02-19 01:04:29 +00:00
|
|
|
version=2.14.2
|
2008-10-31 01:09:14 +00:00
|
|
|
distfiles="http://www.kernel.org/pub/linux/utils/$pkgname/v2.14/$pkgname-$version.tar.bz2"
|
|
|
|
build_style=gnu_configure
|
2009-03-04 05:33:29 +00:00
|
|
|
configure_args="--enable-partx --enable-write
|
2008-12-16 04:48:27 +00:00
|
|
|
--infodir=/usr/share/info --mandir=/usr/share/man"
|
|
|
|
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install"
|
2008-10-31 01:09:14 +00:00
|
|
|
short_desc="Miscellaneous linux utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-02-19 01:04:29 +00:00
|
|
|
checksum=108e63e9a007f6a8c0eff841dd38e0fe3b635c98b35bfac2d89b4b1a1ce0630e
|
2008-10-31 01:09:14 +00:00
|
|
|
long_desc="
|
|
|
|
The util-linux-ng package contains miscellaneous utility programs. Among
|
|
|
|
them are utilities for handling file systems, consoles, partitions,
|
|
|
|
and messages."
|
|
|
|
|
2009-02-25 15:38:17 +00:00
|
|
|
Add_dependency build e2fsprogs
|
2009-02-24 07:22:29 +00:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run e2fsprogs-libs
|
|
|
|
Add_dependency run coreutils
|
|
|
|
Add_dependency run ncurses-libs
|
|
|
|
Add_dependency run zlib
|
2008-10-31 01:09:14 +00:00
|
|
|
|
2009-03-05 03:24:00 +00:00
|
|
|
post_configure()
|
|
|
|
{
|
|
|
|
cd $wrksrc
|
|
|
|
sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g'
|
|
|
|
-i $(grep -rl '/etc/adjtime' .)
|
|
|
|
}
|
|
|
|
|
2008-10-31 01:09:14 +00:00
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Move logger to /bin.
|
2009-03-11 05:31:56 +00:00
|
|
|
install -d -m 755 ${DESTDIR}/bin
|
|
|
|
mv ${DESTDIR}/usr/bin/logger ${DESTDIR}/bin
|
|
|
|
mkdir -p ${DESTDIR}/var/lib/hwclock
|
2008-10-31 01:09:14 +00:00
|
|
|
}
|