aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-12-02 17:29:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-03 14:39:33 +0000
commitb69b983ba241816cb2b1a746463fd79b096caf48 (patch)
tree84dc1f11282ffcf4e5292db9827a1f90bf04f066 /testing
parent575a30f656f096d63eeb1faceeed1579b9f5eee2 (diff)
downloadaports-b69b983ba241816cb2b1a746463fd79b096caf48.tar.bz2
aports-b69b983ba241816cb2b1a746463fd79b096caf48.tar.xz
testing/esasl: specify license
Diffstat (limited to 'testing')
-rw-r--r--testing/esasl/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/testing/esasl/APKBUILD b/testing/esasl/APKBUILD
index b7d9d37e82..74ff8678e9 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"