aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgpg-error/APKBUILD
blob: 6ffff4bbafd6ee05ffbbb893f61aaa01a0f8c603 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgpg-error
pkgver=1.16
pkgrel=0
pkgdesc="Support library for libgcrypt"
url="http://www.gnupg.org"
arch="all"
license="LGPL"
depends=""
subpackages="$pkgname-dev $pkgname-lisp"
source="ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2
	"

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

	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make -j1 DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}

lisp() {
	mkdir -p "$subpkgdir"/usr/
	mv "$pkgdir"/usr/share "$subpkgdir"/usr/share/
}

md5sums="ec7f82d92329a535a89b06142e625f8c  libgpg-error-1.16.tar.bz2"
sha256sums="c2d437503cc4ab3ea27409874fc9bab9c74c6a066f9f24df7ee784cc7e2abb9b  libgpg-error-1.16.tar.bz2"
sha512sums="2f223ca40a3cb8c5343106d712ff32415628afe06e8fe199907cb2aa5e85748b8b2222a2963e3ab5fd48232a702858d16dcb8f69640d67ea94cafe441f2bb15f  libgpg-error-1.16.tar.bz2"