blob: 51c35b78011b6acc1271af7e21ba41a9071c6386 (
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.19
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="c04c16245b92829281f43b5bef7d16da libgpg-error-1.19.tar.bz2"
sha256sums="53120e1333d5c5d28d87ff2854e9e98719c8e214152f17ad5291704d25c4978b libgpg-error-1.19.tar.bz2"
sha512sums="24ac1799260611f6fe3d0931fbb735f6e7e9d3a794190fba71c71d0324230f635655db96db134a1ddf56ea9c46654feb4ea2649c31e6ee31c9fd1ca41e86b56b libgpg-error-1.19.tar.bz2"
|