diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2013-06-06 14:20:48 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2013-06-06 14:23:21 +0000 |
commit | 7cf0598a4bbc132c339622adda8f264f509998d6 (patch) | |
tree | e49949c5403bdfb66ee0ba4214d0acd9b97d556e /testing/esasl | |
parent | 0df364176fb8c1c54ee0b11f631294aa0353dfdf (diff) | |
download | aports-7cf0598a4bbc132c339622adda8f264f509998d6.tar.bz2 aports-7cf0598a4bbc132c339622adda8f264f509998d6.tar.xz |
testing/esasl: new aport
Diffstat (limited to 'testing/esasl')
-rw-r--r-- | testing/esasl/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/esasl/APKBUILD b/testing/esasl/APKBUILD new file mode 100644 index 0000000000..b7d9d37e82 --- /dev/null +++ b/testing/esasl/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=esasl +pkgver=0_git20130606 +pkgrel=0 +pkgdesc="Simple SASL library for Erlang" +url="https://github.com/mikma/esasl/" +arch="all" +license="GPL" +depends="" +depends_dev="erlang-dev libgsasl-dev" +makedepends="$depends_dev autoconf automake" +install="" +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 + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./bootstrap + ./configure --prefix=/usr + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="7991ca8c2002afc42e40201eebb58193 esasl-0_git20130606.tar.gz" +sha256sums="b5c9dccef065910c4a8de5081aa454e52853ce77480f27f00ef0f3b498062ebf esasl-0_git20130606.tar.gz" +sha512sums="bc194f84ab346651359c03496361f1953df18eb9a7823ee1cd015f1b6973e686fd9a59bca7fc3d7e3930e1e16728743d77b933c2ea4fabbe1bef1f50e88b4505 esasl-0_git20130606.tar.gz" |