diff options
Diffstat (limited to 'main/libgpg-error/APKBUILD')
-rw-r--r-- | main/libgpg-error/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/main/libgpg-error/APKBUILD b/main/libgpg-error/APKBUILD new file mode 100644 index 0000000000..24cac43606 --- /dev/null +++ b/main/libgpg-error/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libgpg-error +pkgver=1.7 +pkgrel=0 +pkgdesc="Support library for libgcrypt" +url="http://www.gnupg.org" +license="LGPL" +depends="uclibc" +subpackages="$pkgname-dev $pkgname-lisp" +source="ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2 + nocxx.patch + " + +build () { + cd "$srcdir"/$pkgname-$pkgver + msg "Punting useless check for cpp..." + patch configure < ../nocxx.patch || return 1 + + ./configure --prefix=/usr \ + --disable-nls + + make || return 1 + make -j1 DESTDIR="$pkgdir" install +} + +lisp() { + mkdir -p "$subpkgdir"/usr/ + mv "$pkgdir"/usr/share "$subpkgdir"/usr/share/ +} + +md5sums="62c0d09d1e76c5b6da8fff92314c4665 libgpg-error-1.7.tar.bz2 +28513788ba4d556ccd538867dc6205ab nocxx.patch" |