summaryrefslogtreecommitdiffstats
path: root/testing/esasl/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/esasl/APKBUILD')
-rw-r--r--testing/esasl/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/testing/esasl/APKBUILD b/testing/esasl/APKBUILD
index b7d9d37e8..74ff8678e 100644
--- a/testing/esasl/APKBUILD
+++ b/testing/esasl/APKBUILD
@@ -2,11 +2,11 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=esasl
pkgver=0_git20130606
-pkgrel=0
+pkgrel=1
pkgdesc="Simple SASL library for Erlang"
url="https://github.com/mikma/esasl/"
arch="all"
-license="GPL"
+license="LGPL2+ BSD"
depends=""
depends_dev="erlang-dev libgsasl-dev"
makedepends="$depends_dev autoconf automake"
@@ -15,6 +15,7 @@ subpackages=""
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz"
giturl="https://github.com/mikma/esasl.git"
disturl="dev.alpinelinux.org:/archive/$pkgname/"
+
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
@@ -29,13 +30,14 @@ prepare() {
build() {
cd "$_builddir"
./bootstrap
- ./configure --prefix=/usr
+ ./configure --prefix=/usr \
+ || return 1
make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
}
md5sums="7991ca8c2002afc42e40201eebb58193 esasl-0_git20130606.tar.gz"