summary refs log tree commit diff
path: root/def/a/musl
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2020-01-31 15:59:31 +0100
committerLeah Neukirchen <leah@vuxu.org>2020-01-31 15:59:31 +0100
commit8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec (patch)
tree3dcd6061810fe0298cc9913f5b93f0df142f1eab /def/a/musl
parent289055301db8c7bf26eaf47228e0747c69623bfd (diff)
downloadmewix-8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec.tar.gz
mewix-8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec.tar.xz
mewix-8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec.zip
add package categories, defaulting to a/
Diffstat (limited to 'def/a/musl')
-rw-r--r--def/a/musl13
1 files changed, 13 insertions, 0 deletions
diff --git a/def/a/musl b/def/a/musl
new file mode 100644
index 0000000..dfe73d4
--- /dev/null
+++ b/def/a/musl
@@ -0,0 +1,13 @@
+pkgname=musl
+version=1.1.24
+configure_args="--prefix=/usr --disable-gcc-wrapper"
+distfiles="http://www.musl-libc.org/releases/${pkgname}-${version}.tar.gz"
+
+do_install() {
+        mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/bin
+        ln -sfr ${DESTDIR}/usr/lib ${DESTDIR}/lib
+        make DESTDIR=${DESTDIR} install
+        rm ${DESTDIR}/lib
+        ln -s /usr/lib/libc.so ${DESTDIR}/usr/bin/ldd
+        ln -s true ${DESTDIR}/usr/bin/ldconfig
+}