compat-32/libgpg-error-32/Pkgfile
2019-04-20 13:25:06 +10:00

30 lines
581 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.36
release=1
source=(https://www.gnupg.org/ftp/gcrypt/${name%-*}/${name%-*}-$version.tar.bz2
gawk.patch)
build() {
cd ${name%-*}-$version
patch -p1 -i $SRC/gawk.patch
autoreconf
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--disable-nls \
--enable-static
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{share,bin,include}
}