From 2e4830a3fb17307b13d477aab45d386e54dfdecd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 21 Dec 2015 09:33:08 +0100 Subject: [PATCH] musl: split development stuff into -devel. --- srcpkgs/musl-devel | 1 + srcpkgs/musl/template | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 120000 srcpkgs/musl-devel diff --git a/srcpkgs/musl-devel b/srcpkgs/musl-devel new file mode 120000 index 00000000000..cb9d07031c1 --- /dev/null +++ b/srcpkgs/musl-devel @@ -0,0 +1 @@ +musl \ No newline at end of file diff --git a/srcpkgs/musl/template b/srcpkgs/musl/template index 25fc55d09a7..22f0c798528 100644 --- a/srcpkgs/musl/template +++ b/srcpkgs/musl/template @@ -1,7 +1,7 @@ # Template file for 'musl'. pkgname=musl version=1.1.12 -revision=2 +revision=3 build_style=gnu-configure configure_args="--prefix=/usr --disable-gcc-wrapper" conflicts="glibc>=0" @@ -44,3 +44,13 @@ do_install() { ln -s libc.so ${DESTDIR}/usr/lib/ld-musl-mipsel.so.1 fi } + +musl-devel_package() { + depends="kernel-libc-headers ${sourcepkg}-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.o + } +}