2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 11:10:08 -07:00
repo/extra/mdevd/build

15 lines
286 B
Plaintext
Raw Normal View History

2021-08-21 05:26:32 -06:00
#!/bin/sh -e
./configure \
--prefix=/usr \
2022-09-30 02:07:16 -06:00
--enable-static-libc
2021-08-21 05:26:32 -06:00
make
2023-03-02 07:40:00 -07:00
make DESTDIR="$1" install
2021-08-21 05:26:32 -06:00
mkdir -p "$1/etc/sv/mdevd"
cp -f mdevd.conf "$1/etc"
2021-08-23 22:18:16 -06:00
cp -f mdevd.run "$1/etc/sv/mdevd/run"
2021-08-21 05:26:32 -06:00
ln -sf "/run/runit/supervise.mdevd" "$1/etc/sv/mdevd/supervise"
rm -rf "$1/usr/include"