aboutsummaryrefslogtreecommitdiffstats
path: root/community/libdroplet/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libdroplet/APKBUILD')
-rw-r--r--community/libdroplet/APKBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/libdroplet/APKBUILD b/community/libdroplet/APKBUILD
index b85949653f..999b8dee0f 100644
--- a/community/libdroplet/APKBUILD
+++ b/community/libdroplet/APKBUILD
@@ -3,15 +3,14 @@
pkgname=libdroplet
_pkgname=Droplet
pkgver=2.0
-pkgrel=7
+pkgrel=8
pkgdesc="Cloud storage client library"
+options="!check" # Tests are in another package
url="https://www.scality.com"
arch="all"
-license="BSD"
-depends=""
+license="MIT"
depends_dev="json-c-dev"
makedepends="$depends_dev autoconf automake libtool libxml2-dev openssl-dev"
-install=""
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/scality/Droplet/archive/v$pkgver.tar.gz
libdroplet-json-c.patch
@@ -19,18 +18,20 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/scality/Droplet/archive/v$pk
"
builddir="$srcdir"/$_pkgname-$pkgver
-build() {
- cd "$builddir"
+prepare() {
+ default_prepare
sed -e "s/json/json-c/g" -i configure.ac
./autogen.sh
- ./configure \
- --prefix=/usr
- make || return 1
+}
+
+build() {
+ ./configure --prefix=/usr
+ make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
+ rm -rf "$pkgdir"/usr/lib/*.a
}
sha512sums="9c580bcca80148de85d9a27cb584867401f318610badc2d82ca2cdf220678a857220a5186e888f7c81e8b7fbbeabe9c2ca93e114ca8f6d92d667894f09b53ab5 libdroplet-2.0.tar.gz