opt/qpdf/Pkgfile
Juergen Daubert cb8b71a519 [notify] qpdf: update to 11.0.0
- now use cmake as build system
- soname change, rebuild of dependent ports necessary
2022-09-13 14:10:25 +02:00

22 lines
663 B
Plaintext

# Description: Utility that does structural, content-preserving transformations on PDF files
# URL: http://qpdf.sourceforge.net/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: cmake libjpeg-turbo openssl zlib
# Optional: gnutls
name=qpdf
version=11.0.0
release=1
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz)
build() {
cmake -S $name-$version -B build \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=/usr/lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS"
cmake --build build -j ${JOBS:-1}
DESTDIR=$PKG cmake --install build
rm -r $PKG/usr/share/doc
}