kiss-mfavila-small/ports/hummingbird-git/build
2021-05-09 03:10:08 -03:00

11 lines
300 B
Bash
Executable File

#!/bin/sh -e
sed -i 's/signal(SIGINT, handler);/signal(SIGINT, handler);\nsignal(SIGCHLD, handler);/' hummingbird.c
make
make DESTDIR="$1" install
install -Dm755 usr/lib/hummingbird/* "$1/usr/lib/hummingbird"
install -Dm755 dist/kiss/* "$1/usr/lib/hummingbird"
ln -s hummingbird "$1/usr/bin/init"