diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2012-01-08 12:45:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-16 15:34:46 +0000 |
commit | 255d185eda226200af99c780d6297d7535b2b4ab (patch) | |
tree | e62c19c0a52d26203e27b5393b4d57c352184570 /testing/libgsasl | |
parent | 4e73a8ed40f3a4c4cda65f06ab8aa56bc68fb9b9 (diff) | |
download | aports-255d185eda226200af99c780d6297d7535b2b4ab.tar.bz2 aports-255d185eda226200af99c780d6297d7535b2b4ab.tar.xz |
Initial APKUILD for libgsasl
Diffstat (limited to 'testing/libgsasl')
-rw-r--r-- | testing/libgsasl/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/libgsasl/APKBUILD b/testing/libgsasl/APKBUILD new file mode 100644 index 0000000000..0f62b723a1 --- /dev/null +++ b/testing/libgsasl/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=libgsasl +pkgver=1.6.1 +pkgrel=0 +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 gettext libidn-dev libgss-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +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 \ + || 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="143ab88d06a5217915e6b649d7ffc018 libgsasl-1.6.1.tar.gz" |