# HG changeset patch # User Paul Issott # Date 1472477928 -3600 # Node ID 6df334988ccbc3ccde4b36c2bf2c1ca07190460a # Parent 867f233184fc4434ba70d75e77293222238e6e77 Add pdfgrep diff -r 867f233184fc -r 6df334988ccb pdfgrep/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pdfgrep/receipt Mon Aug 29 14:38:48 2016 +0100 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="pdfgrep" +VERSION="1.4.1" +CATEGORY="office" +SHORT_DESC="A tool to search text in PDF files." +MAINTAINER="paul@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://pdfgrep.org/" +WGET_URL="https://pdfgrep.org/download/$TARBALL" + +DEPENDS="poppler pcre" +BUILD_DEPENDS="poppler-dev pcre-dev wget asciidoc" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +} +