wok annotate epdfview-cups/receipt @ rev 8684

Fix dep: gnome-menus depends on libgio
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 17 18:56:09 2011 +0100 (2011-02-17)
parents 6e90579538d6
children 129bb5b11a7e
rev   line source
pascal@1693 1 # SliTaz package receipt.
pascal@1693 2
pascal@1693 3 PACKAGE="epdfview-cups"
pankso@2360 4 VERSION="0.1.7"
pascal@1693 5 CATEGORY="office"
pascal@1693 6 SHORT_DESC="Lightweight PDF document viewer using Poppler and Cups."
pascal@1693 7 MAINTAINER="pankso@slitaz.org"
pascal@5000 8 DEPENDS="gtk+ poppler glib libpng cups xorg-libXdamage gcc-lib-base libcomerr3"
pascal@1693 9 BUILD_DEPENDS="gtk+-dev poppler-dev poppler cups cups-dev"
pascal@1693 10 SOURCE="epdfview"
pascal@1693 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1693 12 WEB_SITE="http://trac.emma-soft.com/epdfview/"
pascal@1693 13 WGET_URL="${WEB_SITE}chrome/site/releases/$TARBALL"
pascal@1693 14 PROVIDE="epdfview:cups"
slaxemulator@8426 15 SRC_WANTED="$SOURCE"
pascal@1693 16
pascal@1693 17 # Rules to configure and make the package.
pascal@1693 18 compile_rules()
pascal@1693 19 {
pascal@1693 20 cd $src
pascal@1693 21 ./configure \
pascal@1693 22 --prefix=/usr \
pascal@1693 23 --infodir=/usr/share/info \
pascal@1693 24 --mandir=/usr/share/man \
pascal@1693 25 --with-cups \
pascal@1693 26 $CONFIGURE_ARGS &&
pascal@1693 27 make &&
pascal@1693 28 make DESTDIR=$PWD/_pkg install
pascal@1693 29 }
pascal@1693 30
pascal@1693 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1693 32 genpkg_rules()
pascal@1693 33 {
pascal@1693 34 mkdir -p $fs/usr/share/pixmaps
pascal@1693 35 cp -a $_pkg/usr/bin $fs/usr
pascal@1693 36 cp -a $_pkg/usr/share/epdfview $fs/usr/share
pascal@1693 37 cd $fs/usr/share/pixmaps
pascal@1693 38 rm ../epdfview/pixmaps/icon_epdfview-24.png
pascal@1693 39 rm ../epdfview/pixmaps/icon_epdfview-48.png
pascal@1693 40 ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png
pascal@1693 41 }
pascal@1693 42
pascal@1693 43 # Pre install commands for Tazpkg.
pascal@1693 44 pre_install()
pascal@1693 45 {
pascal@1693 46 [ -x $1/usr/bin/epdfview ] && yes y | tazpkg remove epdfview
pascal@1693 47 }