wok view epdfview/receipt @ rev 9220
spidermonkey-dev: fix /usr/include path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 16:54:31 2011 +0100 (2011-03-11) |
parents | 6e90579538d6 |
children | d1768332cee0 |
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 }