2016-03-28 14:29:05 +11:00
|
|
|
# Description: A small library defining error values for GnuPG components
|
2017-03-14 13:58:51 +11:00
|
|
|
# URL: https://www.gnupg.org/
|
2016-03-28 14:29:05 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
# Depends on: libgpg-error
|
|
|
|
|
|
|
|
name=libgpg-error-32
|
2019-04-20 13:25:06 +10:00
|
|
|
version=1.36
|
2016-03-28 14:29:05 +11:00
|
|
|
release=1
|
2019-04-20 13:25:06 +10:00
|
|
|
source=(https://www.gnupg.org/ftp/gcrypt/${name%-*}/${name%-*}-$version.tar.bz2
|
|
|
|
gawk.patch)
|
2016-03-28 14:29:05 +11:00
|
|
|
|
|
|
|
build() {
|
2017-03-14 13:58:51 +11:00
|
|
|
cd ${name%-*}-$version
|
2016-03-28 14:29:05 +11:00
|
|
|
|
2019-04-20 13:25:06 +10:00
|
|
|
patch -p1 -i $SRC/gawk.patch
|
|
|
|
|
|
|
|
autoreconf
|
|
|
|
|
2016-03-28 14:29:05 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--disable-nls \
|
|
|
|
--enable-static
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/{share,bin,include}
|
|
|
|
}
|