void-packages/templates/util-linux-ng/template
Juan RP fa2748d9b2 Reorganize the templates directory for possible future changes.
Now every template uses its own directory. Patches, prepost* files
and other related stuff are stored there.

--HG--
extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
2009-02-03 21:35:57 +01:00

27 lines
946 B
Text

# Template file for 'util-linux-ng'
pkgname=util-linux-ng
version=2.14.1
distfiles="http://www.kernel.org/pub/linux/utils/$pkgname/v2.14/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-partx --disable-wall --enable-write
--infodir=/usr/share/info --mandir=/usr/share/man"
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install"
short_desc="Miscellaneous linux utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=bf289c5399ab78674d9662ff2906a63ab540e88bf8bb1d3c7326dc8b1bef802c
long_desc="
The util-linux-ng package contains miscellaneous utility programs. Among
them are utilities for handling file systems, consoles, partitions,
and messages."
build_depends="e2fsprogs-1.41.3"
run_depends="glibc-2.8 $build_depends"
post_install()
{
local destdir=$XBPS_DESTDIR/$pkgname-$version
# Move logger to /bin.
install -d -m 755 ${destdir}/bin
mv ${destdir}/usr/bin/logger ${destdir}/bin
}