kiss-mfavila-large/ports/unofficial/stable/sinit/build

10 lines
280 B
Plaintext
Raw Normal View History

#!/bin/sh -e
make CFLAGS="$CFLAGS -static" PREFIX=/usr DESTDIR="$1" install
ln -s sinit "$1/usr/bin/init"
install -Dm755 poweroff "$1/usr/bin/poweroff"
install -Dm755 reboot "$1/usr/bin/reboot"
install -Dm644 sinit-launch-services.boot "$1/etc/rc.d/sinit-launch-services.boot"