musl-obstack: ship dynamic lib, split devel.

This commit is contained in:
Érico Rolim 2020-07-06 20:26:32 -03:00 committed by John Zimmermann
parent d038772001
commit ad2790c303
3 changed files with 15 additions and 3 deletions

View File

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

1
srcpkgs/musl-obstack-devel Symbolic link
View File

@ -0,0 +1 @@
musl-obstack

View File

@ -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 <pullmoll@t-online.de>"
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
}
}