diff options
-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 000000000..b7d9d37e8 --- /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" |