blob: fc88e1ed1e18dd30e668d48ca516c6a486a176bd (
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
|
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libksba
pkgver=1.3.2
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"
_builddir="$srcdir/$pkgname-$pkgver"
build () {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
md5sums="c3c9a66e22d87fe3ae59865250b8a09c libksba-1.3.2.tar.bz2"
sha256sums="eb95537955dfc2845690a4cc3836074fa6d0a2c2ca2cbf1759364d3bd9868406 libksba-1.3.2.tar.bz2"
sha512sums="e8e0aa765256bcf2b6bea46a83d826f455083c97c51c1c9e2bc62423f12665780397de20d3f314387a5e3866a9d53812ead0bb05a669a89e14427d69269941e4 libksba-1.3.2.tar.bz2"
|