musl: split development stuff into -devel.

This commit is contained in:
Juan RP 2015-12-21 09:33:08 +01:00
parent 2a50172f49
commit 2e4830a3fb
2 changed files with 12 additions and 1 deletions

1
srcpkgs/musl-devel Symbolic link
View File

@ -0,0 +1 @@
musl

View File

@ -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
}
}