diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-03 21:16:33 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-03 21:16:33 +0200 |
commit | e77ed38e00f7c86f1899aa15912a519cf8e9c331 (patch) | |
tree | 4a617905bebc396fe80de08ddfc39ad6518b9c06 /main/libgsasl/APKBUILD | |
parent | 8992fcf189ea3ac511c7e345e8caa8b2085bca61 (diff) | |
download | aports-e77ed38e00f7c86f1899aa15912a519cf8e9c331.tar.bz2 aports-e77ed38e00f7c86f1899aa15912a519cf8e9c331.tar.xz |
testing/libgsasl: move to main
Diffstat (limited to 'main/libgsasl/APKBUILD')
-rw-r--r-- | main/libgsasl/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/libgsasl/APKBUILD b/main/libgsasl/APKBUILD new file mode 100644 index 0000000000..b7f494c7aa --- /dev/null +++ b/main/libgsasl/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=libgsasl +pkgver=1.8.0 +pkgrel=2 +pkgdesc="An implementation of the Simple Authentication and Security Layer framework" +url="http://www.gnu.org/software/gsasl/" +arch="all" +license="LGPL2+" +depends="" +depends_dev="pkgconfig" +makedepends="$depends_dev libidn-dev libgss-dev libgcrypt-dev" +install="" +subpackages="$pkgname-dev" +source="ftp://ftp.gnu.org/gnu/gsasl/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --with-libgcrypt \ + --disable-nls \ + || return 1 + make || return 1 + make tests || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="5dbdf859f6e60e05813370e2b193b92b libgsasl-1.8.0.tar.gz" |