# SliTaz package receipt. PACKAGE="qpdf" VERSION="10.6.1" CATEGORY="system-tools" SHORT_DESC="A Content-Preserving PDF Transformation System." MAINTAINER="mojo@slitaz.org" LICENSE="Artistic-2.0" WEB_SITE="https://github.com/qpdf/qpdf" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/archive/release-$TARBALL" DEPENDS="libatomic libjpeg pcre zlib" BUILD_DEPENDS="gnutls-dev jpeg-dev pcre-dev zlib-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/release-qpdf-\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders bin cook_copy_files *.so* }