diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/libgpg-error/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/system/libgpg-error/APKBUILD b/system/libgpg-error/APKBUILD new file mode 100644 index 000000000..4f8222cb9 --- /dev/null +++ b/system/libgpg-error/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libgpg-error +pkgver=1.31 +pkgrel=0 +pkgdesc="GnuPG runtime library" +url="http://www.gnupg.org" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="" +makedepends="" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-lisp:lisp:noarch" +source="ftp://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 + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make -j1 DESTDIR="$pkgdir" install +} + +lisp() { + mkdir -p "$subpkgdir"/usr/ + mv "$pkgdir"/usr/share "$subpkgdir"/usr/share/ +} + +sha512sums="23983470be51035b2bc0cdbfa20f0915aec92c53c964c645eac51ba4e992b8436bd3a21f0b48d77d7c4ef178d2aacaf57ab33c7fad24b4f96f4ffb1d7116e67f libgpg-error-1.31.tar.bz2" |