wok view epdfview-cups/receipt @ rev 4011
linux: add CONFIG_PPP_FILTER
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 02 22:49:00 2009 +0200 (2009-09-02) |
parents | ecb146e32c08 |
children | 6e90579538d6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="epdfview-cups"
4 VERSION="0.1.7"
5 CATEGORY="office"
6 SHORT_DESC="Lightweight PDF document viewer using Poppler and Cups."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ poppler glib libpng cups xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev poppler-dev poppler cups cups-dev"
10 SOURCE="epdfview"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://trac.emma-soft.com/epdfview/"
13 WGET_URL="${WEB_SITE}chrome/site/releases/$TARBALL"
14 PROVIDE="epdfview:cups"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --with-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 }
42 # Pre install commands for Tazpkg.
43 pre_install()
44 {
45 [ -x $1/usr/bin/epdfview ] && yes y | tazpkg remove epdfview
46 }