wok-4.x view epdfview/receipt @ rev 153
Add JWM_MENU infos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 19:03:45 2008 +0100 (2008-01-26) |
parents | 1b129a8fd309 |
children | de8dad81f96a |
line source
1 # SliTaz package receipt.
3 PACKAGE="epdfview"
4 VERSION="0.1.6"
5 CATEGORY="extra"
6 SHORT_DESC="Lightweight PDF document viewer using Poppler."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ poppler"
9 BUILD_DEPENDS="gtk+-dev poppler-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://trac.emma-soft.com/epdfview/"
12 WGET_URL="http://trac.emma-soft.com/epdfview/chrome/site/releases/$TARBALL"
13 JWM_MENU='Productivity:<Program icon="epdfview.png" label="ePDFView">epdfview</Program>'
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/epdfview $fs/usr/share
31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
32 strip -s $fs/usr/bin/*
33 cd $fs/usr/share/pixmaps
34 ln -s ../epdfview/pixmaps/icon_epdfview-48.png epdfview.png
35 }