wok-6.x annotate epdfview/receipt @ rev 46
Add : abiword, chemtool, emelfm2, epdfview
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 14:21:04 2007 +0100 (2007-12-18) |
parents | |
children | 1b129a8fd309 |
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@46 | 5 CATEGORY="extra" |
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@46 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@46 | 10 WEB_SITE="http://trac.emma-soft.com/epdfview/" |
pankso@46 | 11 WGET_URL="http://trac.emma-soft.com/epdfview/chrome/site/releases/$TARBALL" |
pankso@46 | 12 |
pankso@46 | 13 # Rules to configure and make the package. |
pankso@46 | 14 compile_rules() |
pankso@46 | 15 { |
pankso@46 | 16 cd $src |
pankso@46 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@46 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@46 | 19 make |
pankso@46 | 20 make DESTDIR=$PWD/_pkg install |
pankso@46 | 21 } |
pankso@46 | 22 |
pankso@46 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 24 genpkg_rules() |
pankso@46 | 25 { |
pankso@46 | 26 mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps |
pankso@46 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@46 | 28 cp -a $_pkg/usr/share/epdfview $fs/usr/share |
pankso@46 | 29 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@46 | 30 strip -s $fs/usr/bin/* |
pankso@46 | 31 cd $fs/usr/share/pixmaps |
pankso@46 | 32 ln -s ../epdfview/pixmaps/icon_epdfview-48.png epdfview.png |
pankso@46 | 33 } |
pankso@46 | 34 |