summaryrefslogtreecommitdiffstats
path: root/base/util-linux-ng/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:32:48 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:32:48 +0200
commit56cfa844fd4b689140dca561fb668dec302b97c7 (patch)
tree8af40a753cef147c610c1a52cc6accaeb47e2ce2 /base/util-linux-ng/Pkgfile
parentef1b5262a1a0b026fc935db169bbb0aade8b9f3c (diff)
downloadnutyx-extra-56cfa844fd4b689140dca561fb668dec302b97c7.tar.gz
nutyx-extra-56cfa844fd4b689140dca561fb668dec302b97c7.tar.bz2
nutyx-extra-56cfa844fd4b689140dca561fb668dec302b97c7.tar.xz
nutyx-extra-56cfa844fd4b689140dca561fb668dec302b97c7.zip
Ajout de util-linux-ng#2.16-1
Diffstat (limited to 'base/util-linux-ng/Pkgfile')
-rwxr-xr-xbase/util-linux-ng/Pkgfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/base/util-linux-ng/Pkgfile b/base/util-linux-ng/Pkgfile
new file mode 100755
index 000000000..fdc45a40e
--- /dev/null
+++ b/base/util-linux-ng/Pkgfile
@@ -0,0 +1,31 @@
+# Description: Divers utilitaires système.
+# URL: http://freshmeat.net/projects/util-linux/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: ncurses
+
+name=util-linux-ng
+version=2.16
+release=1
+source=(http://www.kernel.org/pub/linux/utils/util-linux-ng/v2.16/$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
+rm $PKG/{sbin/fsck,usr/sbin/uuidd}
+rm $PKG/usr/share/man/man8/{fsck.8,uuidd.8}
+mkdir -p $PKG/etc
+if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+fi
+}