--- /dev/null
+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
--- /dev/null
+# 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
+}