From 9df845e91f9c2b86008697d0285cc9af1f25679b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 Dec 2015 14:21:51 +0100 Subject: [PATCH] musl-fts: split development files into -devel. --- srcpkgs/musl-fts-devel | 1 + srcpkgs/musl-fts/template | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 120000 srcpkgs/musl-fts-devel diff --git a/srcpkgs/musl-fts-devel b/srcpkgs/musl-fts-devel new file mode 120000 index 00000000000..4a28ffcfac6 --- /dev/null +++ b/srcpkgs/musl-fts-devel @@ -0,0 +1 @@ +musl-fts \ No newline at end of file diff --git a/srcpkgs/musl-fts/template b/srcpkgs/musl-fts/template index c0f0153aa36..ceac9eb80cd 100644 --- a/srcpkgs/musl-fts/template +++ b/srcpkgs/musl-fts/template @@ -15,8 +15,18 @@ checksum=ba8b99a80378559b51976eb7e189967be37e46590675f6cdf493c5c2df7e361e pre_configure() { ./bootstrap.sh } - post_install() { vinstall ${pkgname}.pc 644 usr/lib/pkgconfig vlicense COPYING } + +musl-fts-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}-${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + } +}