wok view epdfview/receipt @ rev 4649

Add openvas-scanner
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 27 11:39:42 2009 +0100 (2009-12-27)
parents ecb146e32c08
children 31c985a0bd3d
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"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --without-cups \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/pixmaps
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/epdfview $fs/usr/share
34 cd $fs/usr/share/pixmaps
35 rm ../epdfview/pixmaps/icon_epdfview-24.png
36 rm ../epdfview/pixmaps/icon_epdfview-48.png
37 ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png
38 }