From d0f5a3cc3377dbbe234d928abfc65c6e7cc07f2b Mon Sep 17 00:00:00 2001 From: piernov Date: Fri, 13 Jul 2012 15:52:19 +0200 Subject: procps 3.3.3-1 màj port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- procps/Pkgfile | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) (limited to 'procps/Pkgfile') diff --git a/procps/Pkgfile b/procps/Pkgfile index acfc96b63..a8253b3ca 100755 --- a/procps/Pkgfile +++ b/procps/Pkgfile @@ -5,25 +5,22 @@ # Depends on: name=procps -version=3.2.8 -release=2 - -source=(http://procps.sourceforge.net/$name-$version.tar.gz \ - http://www.linuxfromscratch.org/patches/lfs/development/procps-$version-watch_unicode-1.patch \ - http://www.linuxfromscratch.org/patches/lfs/development/procps-3.2.8-fix_HZ_errors-1.patch) +version=3.3.3 +release=1 +source=(http://ftp.debian.org/debian/pool/main/p/procps/${name}_$version.orig.tar.xz + sysctl.conf) build() { - cd $name-$version - patch -Np1 -i ../procps-3.2.8-fix_HZ_errors-1.patch - patch -Np1 -i ../procps-$version-watch_unicode-1.patch - - sed -i -e 's@\*/module.mk@proc/module.mk ps/module.mk@' Makefile - + cd $name-ng-$version + cp ../sysctl.conf . + ./configure --prefix=/usr \ + --libdir=/usr/lib \ + --sysconfdir=/etc \ + --exec-prefix=/ \ + --enable-skill \ + --enable-examples \ + --enable-oomem \ + --enable-w-from make - make DESTDIR=$PKG \ - ldconfig=true \ - man1=$PKG/usr/share/man/man1/ \ - man5=$PKG/usr/share/man/man5/ \ - man8=$PKG/usr/share/man/man8/ install - chmod +w -R $PKG + make DESTDIR=$PKG install } -- cgit v1.2.3-54-g00ecf