28 lines
584 B
Plaintext
Raw Normal View History

2016-03-28 14:30:41 +11:00
# Description: A general purpose cryptographic library based on GnuPG
2017-02-05 12:50:33 +11:00
# URL: https://www.gnupg.org/
2016-03-28 14:30:41 +11:00
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: libgcrypt libgpg-error-32
name=libgcrypt-32
2023-11-15 22:29:57 +01:00
version=1.10.3
2016-03-28 14:30:41 +11:00
release=1
2017-02-05 12:50:33 +11:00
source=(https://www.gnupg.org/ftp/gcrypt/${name%-*}/${name%-*}-$version.tar.bz2)
2016-03-28 14:30:41 +11:00
build() {
2017-02-05 12:50:33 +11:00
cd ${name%-*}-$version
2016-03-28 14:30:41 +11:00
2021-01-30 20:53:28 +11:00
autoreconf -fi
2016-03-28 14:30:41 +11:00
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--disable-padlock-support \
2022-02-26 09:50:25 +01:00
--enable-static=yes \
--disable-asm
2016-03-28 14:30:41 +11:00
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{share,include,bin}
}