diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-18 12:41:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-18 12:41:15 +0000 |
commit | c942fd0aa64b02ce40451e6e6ecf6c0156bb0185 (patch) | |
tree | 7c54fd3de0ad0dee5d638466ee9407ab5724d548 /main/libconfig/APKBUILD | |
parent | aed71b020aa5b55884b6a82c2821115a9efd7568 (diff) | |
download | aports-c942fd0aa64b02ce40451e6e6ecf6c0156bb0185.tar.bz2 aports-c942fd0aa64b02ce40451e6e6ecf6c0156bb0185.tar.xz |
main/libconfig: split c++ library to subpackage
Diffstat (limited to 'main/libconfig/APKBUILD')
-rw-r--r-- | main/libconfig/APKBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/main/libconfig/APKBUILD b/main/libconfig/APKBUILD index 8f17a71fe9..ab09576cda 100644 --- a/main/libconfig/APKBUILD +++ b/main/libconfig/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libconfig pkgver=1.5 -pkgrel=0 +pkgrel=1 pkgdesc="a simple library for manipulating structured configuration files" url="http://www.hyperrealm.com/libconfig/" arch="all" @@ -9,7 +9,7 @@ license='LGPL' depends= makedepends= source="http://www.hyperrealm.com/$pkgname/$pkgname-$pkgver.tar.gz" -subpackages="$pkgname-doc $pkgname-dev" +subpackages="$pkgname-doc $pkgname-dev $pkgname++:_cxx" _builddir="$srcdir"/$pkgname-$pkgver prepare() { @@ -32,6 +32,12 @@ package() { make -j1 DESTDIR="$pkgdir/" install } +_cxx() { + pkgdesc="C++ bindings for libconfig" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libconfig++.so.* "$subpkgdir"/usr/lib/ +} + md5sums="a939c4990d74e6fc1ee62be05716f633 libconfig-1.5.tar.gz" sha256sums="e31daa390d8e4461c8830512fe2e13ba1a3d6a02a2305a02429eec61e68703f6 libconfig-1.5.tar.gz" sha512sums="16bead52ee8c880b25fd1ee6fa83c115dc51830f2f7954389bd8b72cc0e6fc05fc63fe415bd929851894a9f3a1127d51cfc4223149514246e9566305556b7bcd libconfig-1.5.tar.gz" |