wok view evince/receipt @ rev 14185
asterisk: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 11 19:01:08 2013 +0100 (2013-03-11) |
parents | 80b749da41b5 |
children | 7896f0694ef6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="evince"
4 VERSION="2.32.0"
5 CATEGORY="office"
6 SHORT_DESC="Document viewer for Gnome"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="lcms poppler tiff dbus-glib glib util-linux-uuid"
9 BUILD_DEPENDS="gnome-doc-utils-dev docbook-xml libxml2-dev \
10 gnome-icon-theme gtk+-dev intltool lcms-dev util-linux-uuid-dev \
11 poppler-dev tiff-dev dbus-glib-dev xorg-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://projects.gnome.org/evince/"
14 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
15 TAGS="viewer pdf tiff ps postscript dvi"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr \
23 --libexecdir=/usr/lib/$PACKAGE \
24 --disable-nautilus \
25 --disable-scrollkeeper \
26 --disable-comics \
27 --without-gconf \
28 --without-keyring \
29 --disable-schemas-install \
30 --disable-gtk-doc-html \
31 --with-help-formats=none \
32 --disable-help \
33 $CONFIGURE_ARGS &&
34 make -j1 && make -j1 DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/glib-2.0 $fs/usr/lib $fs/usr/share/applications
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
43 cp -a $_pkg/usr/lib/evince $fs/usr/lib
45 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
46 cp -a $_pkg/usr/share/icons $fs/usr/share
47 cp -a $_pkg/usr/share/evince $fs/usr/share
48 cp -a $_pkg/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0
49 cp -a $stuff/evince.desktop $fs/usr/share/applications
51 # Removing unwanted files
52 find $fs/usr/lib -name "*.*a" -exec rm -rf {} \;
53 }
55 # Post install/remove commands for Tazpkg.
56 post_install()
57 {
58 echo "Processing post-install commands..."
59 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
60 }
62 post_remove()
63 {
64 echo "Processing post-remove commands..."
65 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
66 }