wok view evince/receipt @ rev 7429

evince: disable doc (waiting for fix)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 28 22:27:53 2010 +0100 (2010-11-28)
parents 64ec3b23db15
children d1b138ae6772
line source
1 # SliTaz package receipt.
3 PACKAGE="evince"
4 VERSION="2.30.3"
5 CATEGORY="office"
6 SHORT_DESC="Document viewer for Gnome"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="lcms poppler tiff dbus-glib"
9 BUILD_DEPENDS="gnome-doc-utils-dev gnome-icon-theme lcms-dev poppler-dev gtk+-dev tiff-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://projects.gnome.org/evince/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/evince/${VERSION%.*}/${TARBALL}"
13 TAGS="viewer pdf tiff ps postscript dvi"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/ help / /' Makefile*
20 ./configure --prefix=/usr \
21 --libexecdir=/usr/lib/$PACKAGE \
22 --disable-nautilus \
23 --disable-scrollkeeper \
24 --disable-comics \
25 --without-gconf \
26 --without-keyring \
27 --disable-schemas-install \
28 --disable-gtk-doc-html \
29 --with-help-formats=none \
30 $CONFIGURE_ARGS &&
31 make && make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share $fs/usr/lib
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 cp -a $_pkg/usr/lib/evince $fs/usr/lib
42 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
43 cp -a $_pkg/usr/share/icons $fs/usr/share
44 cp -a $_pkg/usr/share/evince $fs/usr/share
46 # Removing unwanted files
47 find $fs/usr/lib -name "*.*a" -exec rm -rf {} \;
48 }