aboutsummaryrefslogtreecommitdiffstats
path: root/main/libksba/APKBUILD
blob: f257c8e804ec03d9aab8d16aff336a8b8041adbe (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libksba
pkgver=1.3.0
pkgrel=0
pkgdesc="Libksba is a CMS and X.509 access library"
url="ftp://ftp.gnupg.org/gcrypt/alpha/libksba"
arch="all"
license="GPL"
depends=
makedepends="libgpg-error-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}
md5sums="cd86fad9c9d360b2cf80449f8a4a4075  libksba-1.3.0.tar.bz2"
sha256sums="5a61eed50550d4d0dcb47457ce7b6a90f8e719d42a3b25f7e79333e8cd721971  libksba-1.3.0.tar.bz2"
sha512sums="51023119346fb7ffa31eee205376b7efb0fab42dee73c669c3174c2ebf4100008d3f508f8d49da27b1ea865c46d407b430c47ce503a8d63c069f59132ee638d9  libksba-1.3.0.tar.bz2"