wok-next view epdfview-cups/receipt @ rev 12513
Up: xorg-libXfont, xorg-libXft, xorg-libfontenc + clean receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 24 23:56:58 2012 +0200 (2012-04-24) |
parents | 129bb5b11a7e |
children | a5587b626515 |
line source
1 # SliTaz package receipt.
3 PACKAGE="epdfview-cups"
4 VERSION="0.1.8"
5 CATEGORY="office"
6 SHORT_DESC="Lightweight PDF document viewer using Poppler and Cups."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="epdfview"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://trac.emma-soft.com/epdfview/"
11 WGET_URL="${WEB_SITE}chrome/site/releases/$TARBALL"
12 PROVIDE="epdfview:cups"
14 DEPENDS="gtk+ poppler glib libpng cups xorg-libXdamage gcc-lib-base libcomerr3"
15 BUILD_DEPENDS="gtk+-dev poppler-dev poppler cups cups-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --with-cups \
23 $CONFIGURE_ARGS &&
24 make && make 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 $install/usr/bin $fs/usr
32 cp -a $install/usr/share/epdfview $fs/usr/share
33 cd $fs/usr/share/pixmaps
34 ln -sf /usr/share/epdfview/pixmaps/icon_epdfview-32.png epdfview.png
35 }
37 # Pre install commands for Tazpkg.
38 pre_install()
39 {
40 [ -x $1/usr/bin/epdfview ] && yes y | tazpkg remove epdfview
41 }