forked from ports/compat-32
30 lines
581 B
Plaintext
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}
|
|
}
|