wok view epdfview-cups/receipt @ rev 4721
Up: libboost-* (1.41.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Jan 05 14:59:14 2010 +0100 (2010-01-05) |
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 }