aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-09 03:42:04 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-31 06:28:42 +0000
commit0a8356fb8eaf557cde5c8a713460521886702252 (patch)
tree8e2e1354d5d075d92370427a6d7c2e4b07f01ff0
parent0ddc8699e3b3d6b9d96588a5b9763553ba1fd1f6 (diff)
testing/libecap: upgrade to 1.0.1
-rw-r--r--testing/libecap/APKBUILD33
1 files changed, 17 insertions, 16 deletions
diff --git a/testing/libecap/APKBUILD b/testing/libecap/APKBUILD
index 1a910aee669..409ff225bac 100644
--- a/testing/libecap/APKBUILD
+++ b/testing/libecap/APKBUILD
@@ -1,41 +1,42 @@
# Contributor: Roger Newman <roger.newman@riseup.net>
# Maintainer: Roger Newman <roger.newman@riseup.net>
pkgname=libecap
-pkgver=1.0.0
+pkgver=1.0.1
pkgrel=0
pkgdesc="API for implementing ICAP content analysis and adaptation"
+options="!check" # No testsuite
url="http://www.e-cap.org/"
arch="all"
-license="BSD"
-depends=""
-subpackages="$pkgname-dev"
+license="BSD-2-Clause"
+subpackages="$pkgname-static $pkgname-dev"
source="http://www.measurement-factory.com/tmp/ecap/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
-
prepare() {
- cd "$_builddir"
- default_prepare || return 1
- update_config_sub || return 1
+ default_prepare
+ update_config_sub
}
build() {
- cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --libdir=/lib \
- || return 1
- make || return 1
+ --libdir=/lib
+ make
}
package() {
- cd "$_builddir"
make install-strip \
libdir=/usr/lib \
pkgconfigdir="/usr/lib/pkgconfig" \
- DESTDIR="$pkgdir" || return 1
+ DESTDIR="$pkgdir"
+}
+
+static() {
+ depends=""
+ pkgdesc="$pkgdesc (static library)"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib
}
-sha512sums="7d34b5a9b6843d6b09efc4fa390c7a2d3dda7a2ae5e82d5021295e436ca9afb7c1f70bc6f25a68e4c430fb6e33ee9f602655c9c830fccd46a8f554774813b452 libecap-1.0.0.tar.gz"
+sha512sums="0054ad11b3f558d7c623060a69207a1b8e679803cabdf1a2bce4b04335d71c016eec770fc9d2cbf3d0a93502c255cb528305f9f8e6df4e095fcb980667045919 libecap-1.0.1.tar.gz"