CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux: updated to 2.37.1
[ports/core-arm64.git] / util-linux / Pkgfile
index c3351eb0525e8ff6fb20fe6d7427485d1afcc188..09778f36fbc791aa3e0f9fa5beff04c785f68fc2 100644 (file)
@@ -2,19 +2,22 @@
 # URL: http://userweb.kernel.org/~kzak/util-linux/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on: eudev ncurses zlib
+# Depends on: eudev file readline bzip2 xz
 
 name=util-linux
-version=2.32.1
+version=2.37.1
 release=1
-source=(https://www.kernel.org/pub/linux/utils/$name/v${version:0:4}/$name-$version.tar.xz)
+source=(https://www.kernel.org/pub/linux/utils/$name/v${version:0:4}/$name-$version.tar.xz
+        $name-man-$version.tar.xz)
 
 build() {
   cd $name-$version
 
   ./configure --prefix=/usr \
               --disable-nls \
+              --disable-asciidoc \
               --disable-{login,su,sulogin,nologin,runuser} \
+              --disable-chfn-chsh \
               --enable-{write,raw,kill} \
               --without-python
 
@@ -23,7 +26,10 @@ build() {
 
   install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}
   touch $PKG/etc/adjtime
+  cp -r $SRC/man $PKG/usr/share
 
-  rm -r $PKG/usr/share
+  rm -r $PKG/usr/share/{doc,bash-completion}
   rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
+  rm $PKG/usr/share/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
+
 }