wok-current view epdfview/receipt @ rev 11515
linuxdcpp: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 23 10:25:06 2011 +0100 (2011-12-23) |
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 }