diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/libgcrypt | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/libgcrypt')
-rw-r--r-- | main/libgcrypt/APKBUILD | 27 | ||||
-rw-r--r-- | main/libgcrypt/nocxx.patch | 15 |
2 files changed, 42 insertions, 0 deletions
diff --git a/main/libgcrypt/APKBUILD b/main/libgcrypt/APKBUILD new file mode 100644 index 000000000..efe95c1ab --- /dev/null +++ b/main/libgcrypt/APKBUILD @@ -0,0 +1,27 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libgcrypt +pkgver=1.4.4 +pkgrel=1 +pkgdesc="general purpose crypto library based on the code used in GnuPG" +url="http://www.gnupg.org" +license="LGPL" +depends= +makedepends="libgpg-error-dev texinfo" +subpackages="$pkgname-dev $pkgname-doc" +source="ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2" + +depends_dev="libgpg-error-dev" + +build () { + cd "$srcdir"/$pkgname-$pkgver + + ./configure --build=${CHOST:-i486-alpine-linux-uclibc} \ + --prefix=/usr \ + --enable-padlock-support \ + --disable-static + + make || return 1 + make -j1 DESTDIR="$pkgdir" install || return 1 + rm -f ${pkgdir}/usr/share/info/dir +} +md5sums="34105aa927e23c217741966496b97e67 libgcrypt-1.4.4.tar.bz2" diff --git a/main/libgcrypt/nocxx.patch b/main/libgcrypt/nocxx.patch new file mode 100644 index 000000000..beb1ab900 --- /dev/null +++ b/main/libgcrypt/nocxx.patch @@ -0,0 +1,15 @@ +--- a/configure 2004-12-07 21:34:23.205172545 +0000 ++++ b/configure 2004-12-07 21:37:17.726654782 +0000 +@@ -5148,10 +5148,8 @@ + : + else + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check +-See \`config.log' for more details." >&5 +-echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; } ++See \`config.log' for more details." >&5;} ++ { echo "C++ sucks, ignoring ..." >&5; }; } + fi + + ac_ext=cc |