wok-stable view epdfview/receipt @ rev 11575
Up: novnc 201111004 (from godane's wok)
# Rules to gen a SliTaz package suitable for Tazpkg.
# Rules to gen a SliTaz package suitable for Tazpkg.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:19 2012 +0100 (2012-01-02) |
parents | 56cca8858703 |
children |
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 }