From 313c0179e2a58cc7f4eb620c60d88a4627705f38 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 31 Oct 2008 02:09:14 +0100 Subject: [PATCH] Added util-linux-ng-2.14.1 template. --HG-- extra : convert_revision : cdfbc8bfa6f95118ee0d32ce34f7932a6e1d4c5a --- templates/util-linux-ng.tmpl | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 templates/util-linux-ng.tmpl diff --git a/templates/util-linux-ng.tmpl b/templates/util-linux-ng.tmpl new file mode 100644 index 00000000000..69f4aa0e552 --- /dev/null +++ b/templates/util-linux-ng.tmpl @@ -0,0 +1,25 @@ +# 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 --enable-wall --enable-write" +short_desc="Miscellaneous linux utilities" +maintainer="Juan RP " +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 +}