wok-6.x view epdfview-cups/receipt @ rev 2117
aspell: add locale dir
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Jan 30 17:25:24 2009 +0000 (2009-01-30) |
parents | |
children | b29c37d68a86 |
line source
1 # SliTaz package receipt.
3 PACKAGE="epdfview-cups"
4 VERSION="0.1.6"
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 }