wok view epdfview/receipt @ rev 1401

adding tree
author Mike D. Smith <MikeDSmith25@gmail.com>
date Sat Sep 20 20:30:30 2008 -0700 (2008-09-20)
parents 44eea2021d09
children 52dc4b48ed81
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"
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 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/epdfview $fs/usr/share
33 cd $fs/usr/share/pixmaps
34 rm ../epdfview/pixmaps/icon_epdfview-24.png
35 rm ../epdfview/pixmaps/icon_epdfview-48.png
36 ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png
37 }