From: Victor Martinez Date: Wed, 3 Nov 2010 07:09:01 +0000 (+0000) Subject: libgcrypt: initial import (verified compilation). X-Git-Url: http://gitweb/?a=commitdiff_plain;h=3df5890ea04af4f0546df8534296a78b5d43eee7;p=attic%2Fports%2Fopt-cross.git libgcrypt: initial import (verified compilation). --- diff --git a/libgcrypt/.footprint b/libgcrypt/.footprint new file mode 100644 index 0000000..4a0a25a --- /dev/null +++ b/libgcrypt/.footprint @@ -0,0 +1,17 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/dumpsexp +-rwxr-xr-x root/root usr/bin/hmac256 +-rwxr-xr-x root/root usr/bin/libgcrypt-config +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/gcrypt-module.h +-rw-r--r-- root/root usr/include/gcrypt.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libgcrypt.a +-rwxr-xr-x root/root usr/lib/libgcrypt.la +lrwxrwxrwx root/root usr/lib/libgcrypt.so -> libgcrypt.so.11.6.0 +lrwxrwxrwx root/root usr/lib/libgcrypt.so.11 -> libgcrypt.so.11.6.0 +-rwxr-xr-x root/root usr/lib/libgcrypt.so.11.6.0 +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/aclocal/ +-rw-r--r-- root/root usr/share/aclocal/libgcrypt.m4 diff --git a/libgcrypt/.md5sum b/libgcrypt/.md5sum new file mode 100644 index 0000000..9ab500c --- /dev/null +++ b/libgcrypt/.md5sum @@ -0,0 +1 @@ +dbf99425a4fe9217c84ce3a35d938634 libgcrypt-1.4.6.tar.bz2 diff --git a/libgcrypt/Pkgfile b/libgcrypt/Pkgfile new file mode 100644 index 0000000..211f2e5 --- /dev/null +++ b/libgcrypt/Pkgfile @@ -0,0 +1,27 @@ +# Description: A general purpose cryptographic library based on GnuPG +# URL: http://www.gnupg.org +# Packager: Matt Housh, jaeger at morpheus dot net +# Maintainer: Thomas Penteker, tek at serverop dot de +# Arch Maintainer System Team devel at crux-arm dot nu +# Depends on: libgpg-error + +name=libgcrypt +version=1.4.6 +release=1 +source=(ftp://ftp.gnupg.org/gcrypt/libgcrypt/$name-$version.tar.bz2) + +build() { + export GPG_ERROR_CFLAGS="-I$CLFS/usr/include" + export GPG_ERROR_LIBS="-L$CLFS/usr/lib" + cd $name-$version + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --with-gpg-error-prefix=$CLFS/usr \ + --disable-padlock-support + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/sbin + rm -rf $PKG/usr/share/info +}