forked from ports/compat-32
28 lines
584 B
Plaintext
28 lines
584 B
Plaintext
# Description: A general purpose cryptographic library based on GnuPG
|
|
# URL: https://www.gnupg.org/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: libgcrypt libgpg-error-32
|
|
|
|
name=libgcrypt-32
|
|
version=1.10.3
|
|
release=1
|
|
source=(https://www.gnupg.org/ftp/gcrypt/${name%-*}/${name%-*}-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd ${name%-*}-$version
|
|
|
|
autoreconf -fi
|
|
|
|
./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}
|
|
}
|