# HG changeset patch # User Richard Dunbar # Date 1427145480 14400 # Node ID 60193f2178a836f5faacb87dfe1faece45da8833 # Parent d1cd4ce1c28694016c5bb28fa9ccc84cd4a273bd Add qpdf diff -r d1cd4ce1c286 -r 60193f2178a8 qpdf-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qpdf-dev/receipt Mon Mar 23 17:18:00 2015 -0400 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="qpdf-dev" +VERSION="5.1.2" +CATEGORY="development" +SHORT_DESC="QPDF devel files" +MAINTAINER="mojo@slitaz.org" +LICENSE="Artistic-2.0" +WANTED="qpdf" +WEB_SITE="http://qpdf.sourceforge.net/" + +DEPENDS="qpdf" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/include + cp -a $install/usr/lib/libqpdf.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include/qpdf $fs/usr/include +} diff -r d1cd4ce1c286 -r 60193f2178a8 qpdf/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qpdf/receipt Mon Mar 23 17:18:00 2015 -0400 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="qpdf" +VERSION="5.1.2" +CATEGORY="system-tools" +SHORT_DESC="QPDF: A Content-Preserving PDF Transformation System" +MAINTAINER="mojo@slitaz.org" +LICENSE="Artistic-2.0" +WEB_SITE="http://qpdf.sourceforge.net/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +DEPENDS="pcre zlib" +BUILD_DEPENDS="pcre-dev zlib-dev" + +# 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() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib +}