CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux-ng: update to 2.19.1
[crossrootfs.git] / util-linux-ng / Pkgfile
index 5ab4c635c1d8e49d37b123226ff878691cb02b95..d7de016c57f83eb37970eb033680dad8ba174058 100644 (file)
@@ -1,34 +1,30 @@
 # Description: Miscellaneous system utilities
 # URL: http://userweb.kernel.org/~kzak/util-linux-ng/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
-# Depends on: e2fsprogs ncurses zlib
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: ncurses zlib
 
 name=util-linux-ng
-version=2.15.1
+version=2.19.1
 release=1
-source=(http://www.kernel.org/pub/linux/utils/$name/v${version%.*}/$name-$version.tar.bz2)
+source=(http://ftp.kernel.org/pub/linux/utils/util-linux/v2.19/util-linux-$version.tar.bz2)
 
 build() {
-  cd $name-$version
+  cd util-linux-$version
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
               --mandir=/usr/man \
-              --disable-{nls,elvtune,wall} \
-              --enable-{write,rdev,raw,kill} \
-              --with-fsprobe=builtin
+              --disable-{nls,elvtune,wall,fallocate} \
+              --enable-{write,rdev,raw,kill}
 
   make
   make DESTDIR=$PKG install
 
-  mv $PKG/lib/libblkid.{a,la} $PKG/usr/lib
-  ln -s /lib/libblkid.so $PKG/usr/lib/libblkid.so
-
-
-  mkdir -p $PKG/etc
+  install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}
   touch $PKG/etc/adjtime
-  rm -r $PKG/usr/share
+
+  rm -r $PKG/usr/{share,man/ru}
   rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
   rm $PKG/usr/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
 }