wok-next annotate epdfview/receipt @ rev 316
Changes to category development
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 03 22:33:00 2008 +0000 (2008-03-03) |
parents | 4959e5789caa |
children | eb4e6a1af180 |
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" |
pascal@153 | 13 JWM_MENU='Productivity:<Program icon="epdfview.png" label="ePDFView">epdfview</Program>' |
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@46 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@46 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@46 | 21 make |
pankso@46 | 22 make DESTDIR=$PWD/_pkg install |
pankso@46 | 23 } |
pankso@46 | 24 |
pankso@46 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 26 genpkg_rules() |
pankso@46 | 27 { |
pankso@46 | 28 mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps |
pankso@46 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@46 | 30 cp -a $_pkg/usr/share/epdfview $fs/usr/share |
pankso@46 | 31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@46 | 32 strip -s $fs/usr/bin/* |
pankso@46 | 33 cd $fs/usr/share/pixmaps |
pankso@46 | 34 ln -s ../epdfview/pixmaps/icon_epdfview-48.png epdfview.png |
pankso@46 | 35 } |
pankso@46 | 36 |