compat-32/libgcrypt-32/Pkgfile

26 lines
566 B
Plaintext
Raw Normal View History

2016-03-28 05:30:41 +02:00
# Description: A general purpose cryptographic library based on GnuPG
2017-02-05 02:50:33 +01:00
# URL: https://www.gnupg.org/
2016-03-28 05:30:41 +02:00
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: libgcrypt libgpg-error-32
name=libgcrypt-32
2020-11-01 06:09:59 +01:00
version=1.8.7
2016-03-28 05:30:41 +02:00
release=1
2017-02-05 02:50:33 +01:00
source=(https://www.gnupg.org/ftp/gcrypt/${name%-*}/${name%-*}-$version.tar.bz2)
2016-03-28 05:30:41 +02:00
build() {
2017-02-05 02:50:33 +01:00
cd ${name%-*}-$version
2016-03-28 05:30:41 +02:00
./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}
}