Files
ports/main/libgpg-error/spkgbuild
2023-04-07 00:18:01 +00:00

22 lines
458 B
Plaintext
Executable File

# description : Library that defines common error values for all GnuPG components
name=libgpg-error
version=1.47
release=1
source="ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.bz2"
build() {
cd $name-$version
# allow building with gawk-5.0
sed -i 's/namespace/pkg_&/' src/Makefile.am src/Makefile.in src/mkstrtable.awk
./configure \
--prefix=/usr \
--disable-nls \
--enable-install-gpg-error-config
make
make DESTDIR=$PKG install
}