repo/extra/mdevd/build

15 lines
286 B
Plaintext
Raw Normal View History

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