mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-03 07:42:10 +01:00
34 lines
744 B
Plaintext
34 lines
744 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libgpg-error
|
|
pkgver=1.10
|
|
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 --prefix=/usr \
|
|
--disable-nls
|
|
|
|
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="736a03daa9dc5873047d4eb4a9c22a16 libgpg-error-1.10.tar.bz2"
|