wok annotate epdfview/receipt @ rev 10328

fsarchiver: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 00:55:31 2011 +0000 (2011-05-22)
parents 1f20fe47a72b
children 56cca8858703
rev   line source
pankso@46 1 # SliTaz package receipt.
pankso@46 2
pankso@46 3 PACKAGE="epdfview"
pankso@2360 4 VERSION="0.1.7"
pankso@205 5 CATEGORY="office"
pankso@46 6 SHORT_DESC="Lightweight PDF document viewer using Poppler."
pankso@46 7 MAINTAINER="pankso@slitaz.org"
pascal@5000 8 DEPENDS="gtk+ poppler glib libpng xorg-libXdamage gcc-lib-base"
pascal@1514 9 BUILD_DEPENDS="gtk+-dev poppler-dev poppler"
pankso@46 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@46 11 WEB_SITE="http://trac.emma-soft.com/epdfview/"
pankso@46 12 WGET_URL="http://trac.emma-soft.com/epdfview/chrome/site/releases/$TARBALL"
jozee@4935 13 TAGS="pdf viewer"
pankso@46 14
pankso@46 15 # Rules to configure and make the package.
pankso@46 16 compile_rules()
pankso@46 17 {
pankso@46 18 cd $src
slaxemulator@9700 19 patch -Np0 -i $stuff/fix-scrolling.patch
pankso@671 20 ./configure \
pankso@671 21 --prefix=/usr \
pankso@671 22 --infodir=/usr/share/info \
pankso@671 23 --mandir=/usr/share/man \
sygne@1681 24 --without-cups \
pascal@1514 25 $CONFIGURE_ARGS &&
pascal@1514 26 make &&
pankso@46 27 make DESTDIR=$PWD/_pkg install
pankso@46 28 }
pankso@46 29
pankso@46 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@46 31 genpkg_rules()
pankso@46 32 {
pankso@671 33 mkdir -p $fs/usr/share/pixmaps
pankso@46 34 cp -a $_pkg/usr/bin $fs/usr
pankso@46 35 cp -a $_pkg/usr/share/epdfview $fs/usr/share
pankso@682 36 cd $fs/usr/share/pixmaps
pankso@682 37 rm ../epdfview/pixmaps/icon_epdfview-24.png
pankso@682 38 rm ../epdfview/pixmaps/icon_epdfview-48.png
pankso@671 39 ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png
pankso@46 40 }
pankso@46 41