smlinux/base/qpdf/qpdf.SMBuild
PktSurf ced90762d9 Added preservestaticlibs variable in addition to converting base/curl's tarball to lzip format
Upgraded base/eudev to 3.2.11
Removed double quotes in mversion variable in base/faad2
Only copy LICENSE to base/libical
Upgraded base/lzip to 1.23 in addition to adding CXXFLAGS variable
Upgraded base/lzlib to 1.13 in addition to adding CFLAGS variable
Upgraded meson 0.63.2
Discarded CFLAGS and LDFLAGS variables and disabled building of static libraries in base/mpfr, converted source to lzip and updated SHA512 checksums
Uncommented fixbuilddirpermissions function call in base/mtools
Fixed code for compiling getconf, getent and iconv binaries in base/musl
Added subshell to compile library in base/nghttp2
Added OPTFLAGS and fixed miscellaneous code in base/p7zip
Added CFLAGS as an argument to make in base/pigz
Added CXXFLAGS as an argument to configure in base/plzip
Upgraded base/qpdf to 11.1.0
Only copy LICENSE to base/sed
Upgraded base/tarlz to 0.23
2022-10-04 20:35:22 +05:30

34 lines
820 B
Text
Executable file

app=qpdf
version=11.1.0
build=1sml
homepage="https://github.com/qpdf/qpdf"
download="https://github.com/qpdf/qpdf/releases/download/v$version/qpdf-$version.tar.gz"
desc="Command-line tools and library for transforming PDF files"
requires="gcc-libs pcre"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
mkdir -p smbuild && cd smbuild
cmake .. \
-DCMAKE_INSTALL_PREFIX="" \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_STATIC_LIBS=OFF
make
make install DESTDIR=$pkg
cp ../LICENSE.txt $pkgdocs/
mkfinalpkg
}
sha512sums="
ccfc7cfe3b5beaf73c064c36056bf4c9cbecc8709c1afc7b5a1de58055d2818a82f6fffd5b59b700b06215d84646267eaa2cfc014721041af94b6a29d9f67b4d qpdf-11.1.0.tar.lz
"