wok-undigest annotate pdfgrep/receipt @ rev 1204
Add pdfgrep
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Aug 29 17:26:57 2016 +0100 (2016-08-29) |
parents | |
children |
rev | line source |
---|---|
paul@1204 | 1 # SliTaz package receipt. |
paul@1204 | 2 |
paul@1204 | 3 PACKAGE="pdfgrep" |
paul@1204 | 4 VERSION="1.4.1" |
paul@1204 | 5 CATEGORY="office" |
paul@1204 | 6 SHORT_DESC="A tool to search text in PDF files." |
paul@1204 | 7 MAINTAINER="paul@slitaz.org" |
paul@1204 | 8 LICENSE="GPL2" |
paul@1204 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@1204 | 10 WEB_SITE="https://pdfgrep.org/" |
paul@1204 | 11 WGET_URL="https://pdfgrep.org/download/$TARBALL" |
paul@1204 | 12 |
paul@1204 | 13 DEPENDS="poppler pcre" |
paul@1204 | 14 BUILD_DEPENDS="poppler-dev pcre-dev wget asciidoc" |
paul@1204 | 15 |
paul@1204 | 16 # Rules to configure and make the package. |
paul@1204 | 17 compile_rules() |
paul@1204 | 18 { |
paul@1204 | 19 ./configure \ |
paul@1204 | 20 --prefix=/usr \ |
paul@1204 | 21 $CONFIGURE_ARGS && |
paul@1204 | 22 make && |
paul@1204 | 23 make DESTDIR=$DESTDIR install |
paul@1204 | 24 } |
paul@1204 | 25 |
paul@1204 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1204 | 27 genpkg_rules() |
paul@1204 | 28 { |
paul@1204 | 29 mkdir -p $fs/usr |
paul@1204 | 30 cp -a $install/usr/bin $fs/usr |
paul@1204 | 31 } |
paul@1204 | 32 |