2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 00:30:06 -07:00
repo/core/musl/build

20 lines
435 B
Plaintext
Raw Normal View History

2019-06-02 00:59:10 -06:00
#!/bin/sh -e
2019-06-18 09:20:40 -06:00
./configure \
2019-09-04 10:46:23 -06:00
--prefix=/usr \
--syslibdir=/usr/lib
2019-06-02 00:59:10 -06:00
make
make DESTDIR="$1" install
2019-07-20 23:09:29 -06:00
mkdir -p "$1/usr/bin"
2019-07-20 11:05:36 -06:00
ln -s "/usr/lib/ld-musl-x86_64.so.1" "$1/usr/bin/ldd"
2019-09-04 10:46:23 -06:00
# Install BSD compatibility headers.
2019-09-16 04:29:20 -06:00
install -Dm 755 cdefs.h "$1/usr/include/sys/cdefs.h"
2019-09-22 23:41:33 -06: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 09:36:37 -06:00
# Install getconf.
cc getconf.c -o "$1/usr/bin/getconf"