wok-6.x annotate epdfview/receipt @ rev 12052
jssame: remvoed extension in desktop file, added icon
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Mar 07 17:42:29 2012 -0800 (2012-03-07) |
parents | 56cca8858703 |
children | a5587b626515 |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="epdfview" |
slaxemulator@11103 | 4 VERSION="0.1.8" |
pankso@205 | 5 CATEGORY="office" |
pankso@46 | 6 SHORT_DESC="Lightweight PDF document viewer using Poppler." |
pankso@46 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@46 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@46 | 9 WEB_SITE="http://trac.emma-soft.com/epdfview/" |
pankso@46 | 10 WGET_URL="http://trac.emma-soft.com/epdfview/chrome/site/releases/$TARBALL" |
jozee@4935 | 11 TAGS="pdf viewer" |
pankso@46 | 12 |
slaxemulator@11103 | 13 DEPENDS="gtk+ poppler glib libpng xorg-libXdamage gcc-lib-base" |
slaxemulator@11103 | 14 BUILD_DEPENDS="gtk+-dev poppler-dev poppler" |
slaxemulator@11103 | 15 |
pankso@46 | 16 # Rules to configure and make the package. |
pankso@46 | 17 compile_rules() |
pankso@46 | 18 { |
pankso@46 | 19 cd $src |
gokhlayeh@11491 | 20 patch -Np1 -i $stuff/0001-When-using-Poppler-0.17.0-I-needed-to-swap-the-blue-.patch |
pankso@671 | 21 ./configure \ |
sygne@1681 | 22 --without-cups \ |
pascal@1514 | 23 $CONFIGURE_ARGS && |
slaxemulator@11103 | 24 make && make install |
pankso@46 | 25 } |
pankso@46 | 26 |
pankso@46 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 28 genpkg_rules() |
pankso@46 | 29 { |
pankso@671 | 30 mkdir -p $fs/usr/share/pixmaps |
slaxemulator@11103 | 31 cp -a $install/usr/bin $fs/usr |
slaxemulator@11103 | 32 cp -a $install/usr/share/epdfview $fs/usr/share |
pankso@682 | 33 cd $fs/usr/share/pixmaps |
slaxemulator@11103 | 34 ln -sf /usr/share/epdfview/pixmaps/icon_epdfview-32.png epdfview.png |
pankso@46 | 35 } |
pankso@46 | 36 |