wok-6.x view epdfview/receipt @ rev 274

Readd slitaz-configs (You was right Pascal)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 25 15:57:18 2008 +0100 (2008-02-25)
parents 4959e5789caa
children eb4e6a1af180
line source
1 # SliTaz package receipt.
3 PACKAGE="epdfview"
4 VERSION="0.1.6"
5 CATEGORY="office"
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 }