2016-03-28 14:30:41 +11:00
|
|
|
# Description: A general purpose cryptographic library based on GnuPG
|
|
|
|
# URL: http://www.gnupg.org/
|
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
# Depends on: libgcrypt libgpg-error-32
|
|
|
|
|
|
|
|
name=libgcrypt-32
|
2016-07-23 13:03:59 +10:00
|
|
|
version=1.7.2
|
2016-03-28 14:30:41 +11:00
|
|
|
release=1
|
|
|
|
source=(ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-$version.tar.bz2)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd libgcrypt-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--disable-padlock-support \
|
|
|
|
--enable-static=yes \
|
|
|
|
--disable-asm
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/{share,include,bin}
|
|
|
|
}
|