wok-stable view epdfview-cups/receipt @ rev 2445
nss_ldap: enable-rfc2307bis
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 13 12:11:02 2009 +0000 (2009-03-13) |
parents | 720da62b7024 |
children | ecb146e32c08 |
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 cups"
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 }