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 4853d7af484fc9d0d94c6e43c615f5b314f15398..d7de016c57f83eb37970eb033680dad8ba174058 100644 (file)
@@ -1,16 +1,16 @@
 # 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, devel@crux-arm.nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on: ncurses zlib
 
 name=util-linux-ng
-version=2.17.1
+version=2.19.1
 release=1
-source=(http://www.kernel.org/pub/linux/utils/$name/v2.17/$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 \
@@ -21,10 +21,10 @@ build() {
   make
   make DESTDIR=$PKG install
 
-  install -d $PKG/{etc,var/{lib,libuuid,run/uuidd}}
+  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
 }