wok view epdfview-cups/receipt @ rev 11942
gecko-mediaplayer up 1.0.3 to resolve cooker error
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Feb 29 22:00:25 2012 -0800 (2012-02-29) |
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 }