mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-22 23:30:05 -07:00
32 lines
596 B
Bash
Executable File
32 lines
596 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
mkdir -p junk
|
|
|
|
(
|
|
cd skalibs
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-shared
|
|
|
|
make
|
|
make DESTDIR="$PWD/../junk" install
|
|
)
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-static-libc \
|
|
--disable-shared \
|
|
--with-sysdeps="$PWD/junk/usr/lib/skalibs/sysdeps" \
|
|
--with-lib="$PWD/junk/usr/lib/skalibs" \
|
|
--with-include="$PWD/junk/usr/include"
|
|
|
|
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"
|