aboutsummaryrefslogblamecommitdiffstats
path: root/main/libgsasl/APKBUILD
blob: d50bf36102999e56674503fc9d5d0425c146b81c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                               
            
        





                                                                                     
                                                              
          
                          










                                                            

                                  







                                                  

 
                                                                 
# 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
}

md5sums="5dbdf859f6e60e05813370e2b193b92b  libgsasl-1.8.0.tar.gz"