2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-04 15:02:27 +00:00
repo/core/musl/build

20 lines
433 B
Plaintext
Raw Normal View History

2019-06-02 06:59:10 +00:00
#!/bin/sh -e
2019-06-18 15:20:40 +00:00
./configure \
2019-09-04 16:46:23 +00:00
--prefix=/usr \
--syslibdir=/usr/lib
2019-06-02 06:59:10 +00:00
make
make DESTDIR="$1" install
2019-07-21 05:09:29 +00:00
mkdir -p "$1/usr/bin"
2020-02-14 16:15:52 +00:00
ln -s /usr/lib/ld-musl-x86_64.so.1 "$1/usr/bin/ldd"
2019-09-04 16:46:23 +00:00
# Install BSD compatibility headers.
2019-09-16 10:29:20 +00:00
install -Dm 755 cdefs.h "$1/usr/include/sys/cdefs.h"
2019-09-23 05:41:33 +00:00
install -Dm 755 queue.h "$1/usr/include/sys/queue.h"
install -Dm 755 tree.h "$1/usr/include/sys/tree.h"
2019-09-28 15:36:37 +00:00
# Install getconf.
cc getconf.c -o "$1/usr/bin/getconf"