blob: 18fec5c2495b14a917319d7b33256602ad0d4e7f (
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.12
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="8f0eb41a344d19ac2aa9bd101dfb9ce6 libgpg-error-1.12.tar.bz2"
sha256sums="cafc9ed6a87c53a35175d5a1220a96ca386696eef2fa059cc0306211f246e55f libgpg-error-1.12.tar.bz2"
sha512sums="eff9ee101e8b48cab635ef22bb5546947e85a8e267cc87260166fb36793d983943a951bfe92dd5d87381d6eb2b9ff5315286db20c06de29aa6dd6e95533a0c14 libgpg-error-1.12.tar.bz2"
|