aboutsummaryrefslogtreecommitdiffstats
path: root/main/skalibs
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2017-03-28 17:29:01 +0800
committerTimo Teräs <timo.teras@iki.fi>2017-04-27 05:34:16 +0000
commit5acfa6f509a879fb536fdc380c65df9f896fdb79 (patch)
tree9cb85a2b84c999bd430ee0a05195425d087d3c93 /main/skalibs
parent1d2cab5573a45d9bf60d10b95be709b91bf63798 (diff)
downloadaports-5acfa6f509a879fb536fdc380c65df9f896fdb79.tar.bz2
aports-5acfa6f509a879fb536fdc380c65df9f896fdb79.tar.xz
main/skalibs: upgrade to 2.5.0.0
Diffstat (limited to 'main/skalibs')
-rw-r--r--main/skalibs/APKBUILD42
1 files changed, 13 insertions, 29 deletions
diff --git a/main/skalibs/APKBUILD b/main/skalibs/APKBUILD
index 5540382d78..cce22fa976 100644
--- a/main/skalibs/APKBUILD
+++ b/main/skalibs/APKBUILD
@@ -1,59 +1,43 @@
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
# Contributor: John Regan <john@jrjrtech.com>
pkgname=skalibs
-pkgver=2.4.0.2
+pkgver=2.5.0.0
pkgrel=0
pkgdesc="A set of general-purpose C programming libraries for skarnet.org software."
url="http://skarnet.org/software/skalibs/"
arch="all"
license="ISC"
-depends=""
-depends_dev=""
-makedepends=""
-install=""
+options="!check"
subpackages="$pkgname-dev $pkgname-doc"
source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
-
-_builddir="$srcdir/$pkgname-$pkgver"
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--enable-shared \
--enable-static \
--libdir=/usr/lib \
- --enable-clock \
- || return 1
- make || return 1
+ --enable-clock
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
dev() {
default_dev
- cd "$subpkgdir"
- mv -f "$pkgdir/usr/lib/$pkgname"/sysdeps/* "usr/lib/$pkgname/sysdeps/"
- rm -rf "$pkgdir/usr"
+ mv "$pkgdir/usr/lib/$pkgname"/sysdeps/* \
+ "$subpkgdir/usr/lib/$pkgname"/sysdeps/
+ rm -rf "$pkgdir"/usr
}
doc() {
default_doc
mkdir -p "$subpkgdir/usr/share/doc"
- cp -a "$_builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
+ cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
}
-md5sums="edcd88590288cdd0fc8dbd417e0d49e9 skalibs-2.4.0.2.tar.gz"
-sha256sums="0708172bc2ec9825f8a4f312d35f8dcd94da5f291425a598c33c873b3de77df8 skalibs-2.4.0.2.tar.gz"
-sha512sums="1a60ff7bf2364cfe56dc5847321dad4eaa3942be90555a405c4c6c6fff287e197621796624cd52030f4373665ef53d4f7cd5832e8492ecf1d75c82544a4c8f2e skalibs-2.4.0.2.tar.gz"
+sha512sums="fe96cb0a128dc5060c74dca1ac96df96bf1f9383229ef283b7b23b98c7910137f3ca25ecd7cf91446a7f6d1ce7bb6a36e346c45c6d5723f73eea008626a3792e skalibs-2.5.0.0.tar.gz"