CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
openssl: adapted to 64b
[crossrootfs.git] / psmisc / Pkgfile
index 90bd6305b9039dbd3459ac411e55ebccedaed774..ac0117ea4e09fe3bf2fe1885be31006d3472d7b8 100644 (file)
@@ -5,9 +5,10 @@
 # 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
 }