compat-32/libgpg-error-32/Pkgfile
2018-06-22 20:28:07 +10:00

25 lines
525 B
Plaintext

# Description: A small library defining error values for GnuPG components
# URL: https://www.gnupg.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: libgpg-error
name=libgpg-error-32
version=1.31
release=1
source=(https://www.gnupg.org/ftp/gcrypt/${name%-*}/${name%-*}-$version.tar.bz2)
build() {
cd ${name%-*}-$version
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--disable-nls \
--enable-static
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{share,bin,include}
}