From ad2790c303fd96032e36916aede3271ab2efd55b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Mon, 6 Jul 2020 20:26:32 -0300 Subject: [PATCH] musl-obstack: ship dynamic lib, split devel. --- common/shlibs | 1 + srcpkgs/musl-obstack-devel | 1 + srcpkgs/musl-obstack/template | 16 +++++++++++++--- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/musl-obstack-devel diff --git a/common/shlibs b/common/shlibs index b10eae70847..1ff9acf93be 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2455,6 +2455,7 @@ libkookularGenerator_odp.so.17 calligra-extras-3.2.0_1 libgemini.so.17 calligra-gemini-3.2.0_1 libarpack.so.2 arpack-ng-3.3.0_2 libfts.so.0 musl-fts-1.2_2 +libobstack.so.0 musl-obstack-1.1_4 libucontext.so.0 libucontext-0.1.1_1 libgavl.so.1 gavl-1.40_1 libmxml.so.1 mxml-2.9_1 diff --git a/srcpkgs/musl-obstack-devel b/srcpkgs/musl-obstack-devel new file mode 120000 index 00000000000..e21ca66cded --- /dev/null +++ b/srcpkgs/musl-obstack-devel @@ -0,0 +1 @@ +musl-obstack \ No newline at end of file diff --git a/srcpkgs/musl-obstack/template b/srcpkgs/musl-obstack/template index 2cd2ddf2efc..4e8bee6afec 100644 --- a/srcpkgs/musl-obstack/template +++ b/srcpkgs/musl-obstack/template @@ -1,16 +1,15 @@ # Template file for 'musl-obstack' pkgname=musl-obstack version=1.1 -revision=3 +revision=4 archs="*-musl" build_style=gnu-configure -configure_args="--disable-shared" hostmakedepends="automake libtool" short_desc="Implementation of obstack for musl libc" maintainer="Jürgen Buchmüller " license="GPL-2.0-or-later" homepage="https://github.com/void-linux/musl-obstack" -distfiles="https://github.com/void-linux/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" +distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=52a216613e7d55e8725e43d017bb2d49a4b1ffa1e06da472f03c7f9875df7d0d CFLAGS="-fPIC" @@ -22,3 +21,14 @@ pre_configure() { post_install() { vinstall ${pkgname}.pc 644 usr/lib/pkgconfig } + +musl-obstack-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/libobstack.a + vmove usr/lib/libobstack.so + vmove usr/lib/pkgconfig + } +}