wok-6.x annotate epdfview/receipt @ rev 5165

Move clisp to undigest (dont build for more than 10 days
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 25 22:51:40 2010 +0100 (2010-03-25)
parents 31c985a0bd3d
children 1f20fe47a72b
rev   line source
pankso@46 1 # SliTaz package receipt.
pankso@46 2
pankso@46 3 PACKAGE="epdfview"
pankso@2360 4 VERSION="0.1.7"
pankso@205 5 CATEGORY="office"
pankso@46 6 SHORT_DESC="Lightweight PDF document viewer using Poppler."
pankso@46 7 MAINTAINER="pankso@slitaz.org"
pascal@5000 8 DEPENDS="gtk+ poppler glib libpng xorg-libXdamage gcc-lib-base"
pascal@1514 9 BUILD_DEPENDS="gtk+-dev poppler-dev poppler"
pankso@46 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@46 11 WEB_SITE="http://trac.emma-soft.com/epdfview/"
pankso@46 12 WGET_URL="http://trac.emma-soft.com/epdfview/chrome/site/releases/$TARBALL"
jozee@4935 13 TAGS="pdf viewer"
pankso@46 14
pankso@46 15 # Rules to configure and make the package.
pankso@46 16 compile_rules()
pankso@46 17 {
pankso@46 18 cd $src
pankso@671 19 ./configure \
pankso@671 20 --prefix=/usr \
pankso@671 21 --infodir=/usr/share/info \
pankso@671 22 --mandir=/usr/share/man \
sygne@1681 23 --without-cups \
pascal@1514 24 $CONFIGURE_ARGS &&
pascal@1514 25 make &&
pankso@46 26 make DESTDIR=$PWD/_pkg install
pankso@46 27 }
pankso@46 28
pankso@46 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@46 30 genpkg_rules()
pankso@46 31 {
pankso@671 32 mkdir -p $fs/usr/share/pixmaps
pankso@46 33 cp -a $_pkg/usr/bin $fs/usr
pankso@46 34 cp -a $_pkg/usr/share/epdfview $fs/usr/share
pankso@682 35 cd $fs/usr/share/pixmaps
pankso@682 36 rm ../epdfview/pixmaps/icon_epdfview-24.png
pankso@682 37 rm ../epdfview/pixmaps/icon_epdfview-48.png
pankso@671 38 ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png
pankso@46 39 }
pankso@46 40