wok-current view epdfview/receipt @ rev 1935

get-wifi-firmware: add rt61 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 26 18:08:09 2008 +0000 (2008-12-26)
parents 52dc4b48ed81
children b29c37d68a86
line source
1 # SliTaz package receipt.
3 PACKAGE="epdfview"
4 VERSION="0.1.6"
5 CATEGORY="office"
6 SHORT_DESC="Lightweight PDF document viewer using Poppler."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ poppler"
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 }