aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgpg-error/APKBUILD
blob: a9cf228e8951ef210c02d4d9bf1ba1423241e0be (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
44
45
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgpg-error
pkgver=1.23
pkgrel=0
pkgdesc="Support library for libgcrypt"
url="http://www.gnupg.org"
arch="all"
license="LGPL"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lisp"
source="ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2
	"

builddir="$srcdir"/$pkgname-$pkgver
build () {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-nls \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install || return 1
}

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

md5sums="5bc2d7ec28f91f883fb6f23d5c784ca7  libgpg-error-1.23.tar.bz2"
sha256sums="7f0c7f65b98c4048f649bfeebfa4d4c1559707492962504592b985634c939eaa  libgpg-error-1.23.tar.bz2"
sha512sums="2fc9989f35ead8f73a6bd041717d03904d7f247ba5ca2c470c249ba7bde6c347d5f18410eb8df4b4d90e9b02d7d60c8713063a39d7ad87083d5e9d098894d4ee  libgpg-error-1.23.tar.bz2"