wok-next view epdfview/receipt @ rev 12518

Up: xorg-libXv, xorg-libXvMC + clean receipt
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 25 00:04:11 2012 +0200 (2012-04-25)
parents 56cca8858703
children a5587b626515
line source
1 # SliTaz package receipt.
3 PACKAGE="epdfview"
4 VERSION="0.1.8"
5 CATEGORY="office"
6 SHORT_DESC="Lightweight PDF document viewer using Poppler."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://trac.emma-soft.com/epdfview/"
10 WGET_URL="http://trac.emma-soft.com/epdfview/chrome/site/releases/$TARBALL"
11 TAGS="pdf viewer"
13 DEPENDS="gtk+ poppler glib libpng xorg-libXdamage gcc-lib-base"
14 BUILD_DEPENDS="gtk+-dev poppler-dev poppler"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i $stuff/0001-When-using-Poppler-0.17.0-I-needed-to-swap-the-blue-.patch
21 ./configure \
22 --without-cups \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/epdfview $fs/usr/share
33 cd $fs/usr/share/pixmaps
34 ln -sf /usr/share/epdfview/pixmaps/icon_epdfview-32.png epdfview.png
35 }