wok view evince/receipt @ rev 4764

Up: enlightenment to the last snapshot (2009-12-02)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 10 23:08:38 2010 +0100 (2010-01-10)
parents
children 31c985a0bd3d
line source
1 # SliTaz package receipt.
3 PACKAGE="evince"
4 VERSION="2.29.4"
5 CATEGORY="office"
6 SHORT_DESC="Document viewer for Gnome"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="lcms poppler tiff"
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}"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --libexecdir=/usr/lib/$PACKAGE \
20 --disable-nautilus \
21 --disable-scrollkeeper \
22 --disable-comics \
23 --without-gconf \
24 --without-keyring \
25 --disable-schemas-install \
26 --disable-gtk-doc-html \
27 --with-help-formats=none \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/usr/lib
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/lib/evince $fs/usr/lib
40 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
41 cp -a $_pkg/usr/share/icons $fs/usr/share
42 cp -a $_pkg/usr/share/evince $fs/usr/share
44 # Removing unwanted files
45 find $fs/usr/lib -name "*.*a" -exec rm -rf {} \;
46 }