CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
filesystem: removed lib32 directories
[crossrootfs.git] / psmisc / Pkgfile
index 83e224a33d1a1ccef82e9da7495116fee421836a..ac0117ea4e09fe3bf2fe1885be31006d3472d7b8 100644 (file)
@@ -1,13 +1,14 @@
 # Description: Small utilities that use the /proc filesystem
 # URL: http://psmisc.sourceforge.net/
 # 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
 
 name=psmisc
-version=22.10
-release=1
-source=(http://dl.sourceforge.net/$name/$name-$version.tar.gz)
+version=22.21
+release=3
+source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz \
+        fuseropts.patch)
 
 build() {
   cd $name-$version
@@ -17,14 +18,16 @@ ac_cv_func_malloc_0_nonnull=yes
 ac_cv_func_realloc_0_nonnull=yes
 EOF
 
+  # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740275
+  patch -p1 -i $SRC/fuseropts.patch
+
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
               --disable-nls \
-              --mandir=/usr/man \
               --cache-file=config.cache
   
   make
   make DESTDIR=$PKG install
-  rm -f $PKG/usr/bin/{oldfuser,pstree.x11}
+  rm -f $PKG/usr/bin/pstree.x11
 }