summaryrefslogtreecommitdiffstats
path: root/base/util-linux/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-15 20:16:53 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-15 20:16:53 +0100
commit2e8f234b0fb1fb0349dcc63b7a2f3fa372d09d63 (patch)
tree76217a444f1d0ee794aa70c5b8e62a4806b8e890 /base/util-linux/Pkgfile
parent05ab615e176b49254dadf10e8f858a92625e9d45 (diff)
downloadnutyx-pakxe-2e8f234b0fb1fb0349dcc63b7a2f3fa372d09d63.tar.gz
nutyx-pakxe-2e8f234b0fb1fb0349dcc63b7a2f3fa372d09d63.tar.bz2
nutyx-pakxe-2e8f234b0fb1fb0349dcc63b7a2f3fa372d09d63.tar.xz
nutyx-pakxe-2e8f234b0fb1fb0349dcc63b7a2f3fa372d09d63.zip
util-linux, maj 2.19-1
Diffstat (limited to 'base/util-linux/Pkgfile')
-rwxr-xr-xbase/util-linux/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/base/util-linux/Pkgfile b/base/util-linux/Pkgfile
new file mode 100755
index 000000000..918173578
--- /dev/null
+++ b/base/util-linux/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Divers utilitaires système.
+# URL: http://freshmeat.net/projects/util-linux/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=util-linux
+version=2.19
+release=1
+source=(http://www.kernel.org/pub/linux/utils/util-linux-ng/v2.19/$name-$version.tar.bz2)
+
+build() {
+cd $name-$version
+sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
+ -i $(grep -rl '/etc/adjtime' .)
+
+mkdir -pv $PKG/var/lib/hwclock
+
+./configure --enable-arch --enable-partx --enable-write
+
+make
+make DESTDIR=$PKG install
+rm $PKG/usr/bin/wall
+rm $PKG/usr/share/man/man1/wall.1
+mkdir -p $PKG/etc
+if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+fi
+}