| 1 | # Description: Control the creation and termination of system-level processes |
| 2 | # URL: http://man7.org/linux/man-pages/man8/start-stop-daemon.8.html |
| 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 | |
| 6 | name=start-stop-daemon |
| 7 | version=20150921 |
| 8 | release=1 |
| 9 | source=(start-stop-daemon.c start-stop-daemon.8 crux-patch.diff makefile) |
| 10 | |
| 11 | build () { |
| 12 | patch -p2 -i crux-patch.diff |
| 13 | |
| 14 | make CC="$CC" |
| 15 | |
| 16 | install -d $PKG/{sbin,usr/share/man/man8} |
| 17 | install -m 755 $name $PKG/sbin/ |
| 18 | install -m 644 $name.8 $PKG/usr/share/man/man8/ |
| 19 | } |