summaryrefslogtreecommitdiffstats
path: root/util-linux-ng/Pkgfile.old
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux-ng/Pkgfile.old')
-rw-r--r--util-linux-ng/Pkgfile.old27
1 files changed, 27 insertions, 0 deletions
diff --git a/util-linux-ng/Pkgfile.old b/util-linux-ng/Pkgfile.old
new file mode 100644
index 0000000..774e388
--- /dev/null
+++ b/util-linux-ng/Pkgfile.old
@@ -0,0 +1,27 @@
+# Description: Miscellaneous system utilities
+# URL: http://userweb.kernel.org/~kzak/util-linux-ng/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: ncurses zlib
+
+name=util-linux-ng
+version=2.18
+release=2
+source=(http://ftp.kernel.org/pub/linux/utils/$name/v2.18/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/man \
+ --disable-{nls,wall} \
+ --enable-{write,raw,kill}
+ make
+ make DESTDIR=$PKG install
+
+ install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}
+ touch $PKG/etc/adjtime
+
+ rm -r $PKG/usr/share
+ rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
+ rm $PKG/usr/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
+}