wok view epdfview/receipt @ rev 10509
libtdb: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 15:43:17 2011 +0200 (2011-05-25) |
parents | 1f20fe47a72b |
children | 56cca8858703 |
line source
1 # SliTaz package receipt.
3 PACKAGE="epdfview"
4 VERSION="0.1.7"
5 CATEGORY="office"
6 SHORT_DESC="Lightweight PDF document viewer using Poppler."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ poppler glib libpng xorg-libXdamage gcc-lib-base"
9 BUILD_DEPENDS="gtk+-dev poppler-dev poppler"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://trac.emma-soft.com/epdfview/"
12 WGET_URL="http://trac.emma-soft.com/epdfview/chrome/site/releases/$TARBALL"
13 TAGS="pdf viewer"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np0 -i $stuff/fix-scrolling.patch
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --without-cups \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg 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 $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/epdfview $fs/usr/share
36 cd $fs/usr/share/pixmaps
37 rm ../epdfview/pixmaps/icon_epdfview-24.png
38 rm ../epdfview/pixmaps/icon_epdfview-48.png
39 ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png
40 }