summaryrefslogtreecommitdiff
path: root/system/skalibs
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2019-03-06 23:17:07 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2019-03-06 23:17:07 +0000
commitc62953584acc8e12bb3ecca83abbc522f8ae6c7d (patch)
tree09a08c6aef9b8948eb6fb8008af36ae3e1f6d614 /system/skalibs
parent54003d7ae7f86ebba107ddad7ea6be0fdcaa6259 (diff)
downloadpackages-c62953584acc8e12bb3ecca83abbc522f8ae6c7d.tar.gz
packages-c62953584acc8e12bb3ecca83abbc522f8ae6c7d.tar.bz2
packages-c62953584acc8e12bb3ecca83abbc522f8ae6c7d.tar.xz
packages-c62953584acc8e12bb3ecca83abbc522f8ae6c7d.zip
system/skalibs: upgrade to 2.8.0.0
Diffstat (limited to 'system/skalibs')
-rw-r--r--system/skalibs/APKBUILD40
1 files changed, 30 insertions, 10 deletions
diff --git a/system/skalibs/APKBUILD b/system/skalibs/APKBUILD
index 2bf84e868..46494176b 100644
--- a/system/skalibs/APKBUILD
+++ b/system/skalibs/APKBUILD
@@ -1,14 +1,14 @@
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=skalibs
-pkgver=2.7.0.0
-pkgrel=1
+pkgver=2.8.0.0
+pkgrel=0
pkgdesc="A set of general-purpose C programming libraries for skarnet.org software"
-url="http://skarnet.org/software/skalibs/"
+url="https://skarnet.org/software/skalibs/"
arch="all"
options="!check" # No test suite.
license="ISC"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-libs $pkgname-dev $pkgname-libs-dev:libsdev $pkgname-doc"
source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
@@ -26,17 +26,37 @@ package() {
make DESTDIR="$pkgdir" install
}
+
+libs() {
+ pkgdesc="$pkgdesc (shared libraries)"
+ depends=
+ mkdir -p "$subpkgdir/lib"
+ mv "$pkgdir"/lib/*.so.* "$subpkgdir/lib/"
+}
+
+
dev() {
- default_dev
- mv "$pkgdir/usr/lib/$pkgname"/sysdeps/* \
- "$subpkgdir/usr/lib/$pkgname"/sysdeps/
- rm -rf "$pkgdir"/usr
+ pkgdesc="$pkgdesc (development files)"
+ depends=
+ mkdir -p "$subpkgdir"
+ mv "$pkgdir/usr" "$subpkgdir/"
}
+
+libsdev() {
+ pkgdesc="$pkgdesc (development files for dynamic linking)"
+ depends="$pkgname-dev"
+ mkdir -p "$subpkgdir/lib"
+ mv "$pkgdir"/lib/*.so "$subpkgdir/lib/"
+}
+
+
doc() {
- default_doc
+ pkgdesc="$pkgdesc (documentation)"
+ depends=
+ install_if="docs $pkgname=$pkgver-r$pkgrel"
mkdir -p "$subpkgdir/usr/share/doc"
cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
}
-sha512sums="33624b606a0846478e6fde10057633b43e76bda299d067cff269582c252f05108ebf28c539865c7f24b67e99575328fc7789326dfbb2e81bf209aa51445f04a1 skalibs-2.7.0.0.tar.gz"
+sha512sums="0d8d4a5a68a3f522312c69913a2e998a7cd8562fb99595ed6631531af590701f995b05c2d85defab3cd24d3480787a7456c8326e7bff00cd1a84ff06ca89b463 skalibs-2.8.0.0.tar.gz"