summaryrefslogtreecommitdiffstats
path: root/base/procps/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2010-11-18 08:20:11 +0100
committersibel <lesibel@free.fr>2010-11-18 08:20:11 +0100
commit5d7bae521f8efac24964913d01f91267088b8cca (patch)
tree08765ee373b9e7a6c1a31ac3c9c8937319cbc853 /base/procps/Pkgfile
parentf5dc19aeac70602354f8f8bcab4ee912e6584d76 (diff)
downloadnutyx-extra-5d7bae521f8efac24964913d01f91267088b8cca.tar.gz
nutyx-extra-5d7bae521f8efac24964913d01f91267088b8cca.tar.bz2
nutyx-extra-5d7bae521f8efac24964913d01f91267088b8cca.tar.xz
nutyx-extra-5d7bae521f8efac24964913d01f91267088b8cca.zip
procps maj 3.2.8-1
Diffstat (limited to 'base/procps/Pkgfile')
-rwxr-xr-xbase/procps/Pkgfile28
1 files changed, 17 insertions, 11 deletions
diff --git a/base/procps/Pkgfile b/base/procps/Pkgfile
index fe6c3eb0b..acfc96b63 100755
--- a/base/procps/Pkgfile
+++ b/base/procps/Pkgfile
@@ -6,18 +6,24 @@
name=procps
version=3.2.8
-release=1
+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-$version-watch_unicode-1.patch \
+ http://www.linuxfromscratch.org/patches/lfs/development/procps-3.2.8-fix_HZ_errors-1.patch)
build() {
-cd $name-$version
-patch -Np1 -i ../procps-$version-watch_unicode-1.patch
-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
+ 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
+
+ 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
}