CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
python3: updated to 3.9.13
[ports/core-arm.git] / util-linux / Pkgfile
index 3e1374fc298c86b3eeeb779202024c4ffaf55d1f..e507119c2bc691fc7e1b0d0e30527a65935a1fa4 100644 (file)
@@ -1,21 +1,20 @@
 # Description: Miscellaneous system utilities
-# URL: http://userweb.kernel.org/~kzak/util-linux/
+# URL: https://www.kernel.org/pub/linux/utils/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: ncurses zlib
+# Depends on: eudev file readline bzip2 xz
 
 name=util-linux
-version=2.26
+version=2.38
 release=1
-source=(http://ftp.kernel.org/pub/linux/utils/$name/v2.26/$name-$version.tar.xz)
+source=(https://www.kernel.org/pub/linux/utils/$name/v${version:0:4}/$name-$version.tar.xz)
 
 build() {
   cd $name-$version
-
   ./configure --prefix=/usr \
-              --mandir=/usr/man \
               --disable-nls \
               --disable-{login,su,sulogin,nologin,runuser} \
+              --disable-chfn-chsh \
               --enable-{write,raw,kill} \
               --without-python
 
@@ -25,7 +24,6 @@ build() {
   install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}
   touch $PKG/etc/adjtime
 
-  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/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
 }