mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-15 19:20:10 -07:00
15 lines
286 B
Bash
Executable File
15 lines
286 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-static-libc
|
|
|
|
make
|
|
make DESTDIR="$1" 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"
|