blob: d41baa234380a703a3d6268ace224eaabb76748f (
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.28
pkgrel=0
pkgdesc="Support library for libgcrypt"
url="http://www.gnupg.org"
arch="all"
license="GPL-2.0-or-later LGPL-2.1-or-later"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lisp:lisp:noarch"
source="https://gnupg.org/ftp/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
make
}
check() {
make -C "$builddir" check
}
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
lisp() {
mkdir -p "$subpkgdir"/usr/
mv "$pkgdir"/usr/share "$subpkgdir"/usr/share/
}
sha512sums="967e5e9930ca2bcd4cc790d69c907684500120c1363ed384a5540ccd4e9a387977c7352da03ff7e0feeacedf073131fc0db9eea9d097d0fbd389fd0bc9b5c209 libgpg-error-1.28.tar.bz2"
|