CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
procps: updated tp 3.3.14
[crossrootfs.git] / procps / Pkgfile
index 78ac0fbb5629c02b07ab48324323ebe5852df6de..77eb2c0795c1b4bed163f00ca4caaf3b03a7ca0e 100644 (file)
@@ -5,8 +5,8 @@
 # Depends on: ncurses
 
 name=procps
-version=3.3.9
-release=2
+version=3.3.14
+release=1
 source=(http://downloads.sourceforge.net/project/procps-ng/Production/$name-ng-$version.tar.xz
         sysctl.conf)
 
@@ -21,20 +21,22 @@ EOF
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --exec-prefix=/ \
+              --sbindir=/sbin \
               --libdir=/usr/lib \
               --sysconfdir=/etc \
-              --mandir=/usr/man \
+              --disable-nls \
               --disable-kill \
+              --disable-modern-top \
               --cache-file=config.cache
 
   make
   make DESTDIR=$PKG install
 
-  install -d $PKG/{lib,etc}
+  install -d $PKG/{bin,lib,etc}
+  mv $PKG/usr/bin/{ps,pidof} $PKG/bin/
   mv $PKG/usr/lib/libprocps.so.* $PKG/lib
-  ln -sf ../../lib/$(readlink $PKG/lib/libprocps.so.0) $PKG/usr/lib/libprocps.so
+  ln -sf ../../lib/$(readlink $PKG/lib/libprocps.so.5) $PKG/usr/lib/libprocps.so
   install -m 0644 $SRC/sysctl.conf $PKG/etc/sysctl.conf
 
-  rm -r $PKG/usr/share
+  rm -r $PKG/usr/share/doc
 }