wok annotate epdfview/receipt @ rev 845
firefox-simple-mail: install for Firefox 3.0
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 18 16:56:02 2008 +0200 (2008-05-18) |
parents | 44eea2021d09 |
children | 52dc4b48ed81 |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="epdfview" |
pankso@46 | 4 VERSION="0.1.6" |
pankso@205 | 5 CATEGORY="office" |
pankso@46 | 6 SHORT_DESC="Lightweight PDF document viewer using Poppler." |
pankso@46 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@46 | 8 DEPENDS="gtk+ poppler" |
pankso@116 | 9 BUILD_DEPENDS="gtk+-dev poppler-dev" |
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" |
pankso@46 | 13 |
pankso@46 | 14 # Rules to configure and make the package. |
pankso@46 | 15 compile_rules() |
pankso@46 | 16 { |
pankso@46 | 17 cd $src |
pankso@671 | 18 ./configure \ |
pankso@671 | 19 --prefix=/usr \ |
pankso@671 | 20 --infodir=/usr/share/info \ |
pankso@671 | 21 --mandir=/usr/share/man \ |
pankso@671 | 22 $CONFIGURE_ARGS |
pankso@46 | 23 make |
pankso@46 | 24 make DESTDIR=$PWD/_pkg install |
pankso@46 | 25 } |
pankso@46 | 26 |
pankso@46 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 28 genpkg_rules() |
pankso@46 | 29 { |
pankso@671 | 30 mkdir -p $fs/usr/share/pixmaps |
pankso@46 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@46 | 32 cp -a $_pkg/usr/share/epdfview $fs/usr/share |
pankso@682 | 33 cd $fs/usr/share/pixmaps |
pankso@682 | 34 rm ../epdfview/pixmaps/icon_epdfview-24.png |
pankso@682 | 35 rm ../epdfview/pixmaps/icon_epdfview-48.png |
pankso@671 | 36 ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png |
pankso@46 | 37 } |
pankso@46 | 38 |