blob: dfa4f7116e62c48a6f99749dbf19f98eeb842167 (
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.24
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="feb42198c0aaf3b28eabe8f41a34b983 libgpg-error-1.24.tar.bz2"
sha256sums="9268e1cc487de5e6e4460fca612a06e4f383072ac43ae90603e5e46783d3e540 libgpg-error-1.24.tar.bz2"
sha512sums="d577ebf36251402dd27187056f7c54cea226119f499d1c3bc1c4201ba4d2ae4a9dcefdf4502411cfcffe52b1cefab8c2cfddfa16b7e6ad3b49305a3394ccca31 libgpg-error-1.24.tar.bz2"
|