aboutsummaryrefslogtreecommitdiff
path: root/extra/scron/build
blob: fd90a6f7da8b17d24acedc08fa1c8d11c14fc572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

make CC="${CC:-gcc}"
make PREFIX="$1/usr" MANPREFIX="$1/usr/share/man" install


# Install runit service
install -Dm755 scron.run "$1/etc/sv/scron/run"
ln -sv /run/runit/supervise.scron "$1/etc/sv/scron/supervise"

# Install sysmgr service
install -Dm755 scron.run "$1/etc/sysmgr/scron"