wok-6.x view epdfview/receipt @ rev 13455
Add: claws-mail-tnefparse
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Oct 07 01:31:27 2012 +0200 (2012-10-07) |
parents | 4d8d4417d2f5 |
children | f6cec36345bb |
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 sed -i 's/<config.h>/&\n#include <stdio.h>\n#define g_fopen fopen/' \
21 src/epdfview.h
22 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
23 patch -Np1 -i $stuff/0001-When-using-Poppler-0.17.0-I-needed-to-swap-the-blue-.patch
24 ./configure \
25 --without-cups \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/pixmaps
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/epdfview $fs/usr/share
36 cd $fs/usr/share/pixmaps
37 ln -sf /usr/share/epdfview/pixmaps/icon_epdfview-32.png epdfview.png
38 }