blob: 5dd2e2cf799dbde90907ca418b3f3d45c056ba47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# 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="https://www.gnu.org/software/gsasl/"
arch="all"
license="LGPL-2.0-or-later"
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
prepare() {
default_prepare || return 1
update_config_guess
}
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
}
sha512sums="7e591d12404919559bf67590f862270ffcae2030a14097cdaf92820aa79619b3048541e9f83b3fcb98a84622c44a52ecaceeebb1be55b9e9f68fb1790ade8721 libgsasl-1.8.0.tar.gz"
|