CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
openssl: adapted to 64b
[crossrootfs.git] / psmisc / Pkgfile
index 17d520f7e9fa38a79ebfa4d1e20a6e178008a0a1..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
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on: ncurses
 
 name=psmisc
-version=22.6
-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,13 +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
 }