| 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 | |
| 5 | name=start-stop-daemon |
| 6 | version=20170812 |
| 7 | release=1 |
| 8 | source=(start-stop-daemon.c start-stop-daemon.8 crux-patch.diff makefile) |
| 9 | |
| 10 | build () { |
| 11 | patch -p2 -i crux-patch.diff |
| 12 | |
| 13 | make |
| 14 | |
| 15 | install -d $PKG/{sbin,usr/share/man/man8} |
| 16 | install -m 755 $name $PKG/sbin/ |
| 17 | install -m 644 $name.8 $PKG/usr/share/man/man8/ |
| 18 | } |