X-Git-Url: http://gitweb/?a=blobdiff_plain;f=procps%2FPkgfile;h=a1216e2a1d436c891ab201970262187721835671;hb=995a0fc29734e06ddf63b76c327629199fa4919c;hp=05d5ec56972ebf0af99152f369a26894c1e93f74;hpb=2c32cbcb3c3fa4722856b520e061d98ebc696bb3;p=crossrootfs.git diff --git a/procps/Pkgfile b/procps/Pkgfile index 05d5ec5..a1216e2 100644 --- a/procps/Pkgfile +++ b/procps/Pkgfile @@ -9,11 +9,14 @@ version=3.2.8 release=2 source=(http://procps.sourceforge.net/$name-$version.tar.gz \ sysctl.conf \ - procps-3.2.8-priorities.patch) + $name-$version.patch \ + $name-$version-linux-ver-init.patch) build() { cd $name-$version - patch -p1 -i $SRC/procps-3.2.8-priorities.patch + patch -p1 -i $SRC/$name-$version.patch + patch -p0 -i $SRC/$name-$version-linux-ver-init.patch + make make DESTDIR=$PKG \ ldconfig=true \ @@ -21,10 +24,6 @@ build() { man5=$PKG/usr/man/man5/ \ man8=$PKG/usr/man/man8/ \ install - install -D -m644 ../sysctl.conf $PKG/etc/sysctl.conf - rm -f $PKG/bin/kill $PKG/usr/man/man1/kill.1 - ln -sf pgrep $PKG/usr/bin/pkill - ln -sf skill $PKG/usr/bin/snice - chmod +w -R $PKG + install -D -m644 ../sysctl.conf $PKG/etc/sysctl.conf }