wok-stable view epdfview-cups/receipt @ rev 11136

Up: xorg-xinit to 1.3.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 26 20:59:31 2011 +0000 (2011-10-26)
parents 129bb5b11a7e
children
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 }