| 1 | # Description: The /proc file system utilities |
| 2 | # URL: http://procps.sourceforge.net/ |
| 3 | # Maintainer: CRUX System Team, core-ports at crux dot nu |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Depends on: ncurses |
| 6 | |
| 7 | name=procps |
| 8 | version=3.2.8 |
| 9 | release=3 |
| 10 | source=(http://procps.sourceforge.net/$name-$version.tar.gz \ |
| 11 | sysctl.conf \ |
| 12 | $name-$version.patch \ |
| 13 | $name-$version-linux-ver-init.patch) |
| 14 | |
| 15 | build() { |
| 16 | cd $name-$version |
| 17 | patch -p1 -i $SRC/$name-$version.patch |
| 18 | patch -p0 -i $SRC/$name-$version-linux-ver-init.patch |
| 19 | |
| 20 | make |
| 21 | make DESTDIR=$PKG \ |
| 22 | ldconfig=true \ |
| 23 | man1=$PKG/usr/man/man1/ \ |
| 24 | man5=$PKG/usr/man/man5/ \ |
| 25 | man8=$PKG/usr/man/man8/ \ |
| 26 | install |
| 27 | |
| 28 | install -D -m644 ../sysctl.conf $PKG/etc/sysctl.conf |
| 29 | } |