repo/extra/mdevd/build
2022-10-17 14:16:16 +05:30

15 lines
273 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--enable-static-libc
make
make install
mkdir -p "$1/etc/sv/mdevd"
cp -f mdevd.conf "$1/etc"
cp -f mdevd.run "$1/etc/sv/mdevd/run"
ln -sf "/run/runit/supervise.mdevd" "$1/etc/sv/mdevd/supervise"
rm -rf "$1/usr/include"