# HG changeset patch # User Paul Issott # Date 1470480314 -3600 # Node ID fd7c7dba68b60d0315fe52ceed0425439125bcf0 # Parent ef99e2cce662a86ecca9cec82c4d8250936182c6 Add pdfgrep diff -r ef99e2cce662 -r fd7c7dba68b6 pdfgrep/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pdfgrep/receipt Sat Aug 06 11:45:14 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" + +# 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 +} +