kiss-mfavila-small/ports/hummingbird-git-mod/build

12 lines
329 B
Plaintext
Raw Normal View History

2021-05-09 02:10:08 -04:00
#!/bin/sh -e
2021-05-11 00:07:37 -04:00
# Fix an issue with reaping.
2021-05-09 02:10:08 -04:00
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"