wok-current view evince/receipt @ rev 18190
Add luufs & logfence
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 09 21:09:43 2015 +0200 (2015-07-09) |
parents | cfea6eaa0ada |
children | feb2e0c63d21 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://projects.gnome.org/evince/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
12 TAGS="viewer pdf tiff ps postscript dvi"
14 DEPENDS="lcms poppler tiff dbus-glib glib util-linux-uuid"
15 BUILD_DEPENDS="gnome-doc-utils-dev docbook-xml libxml2-dev \
16 gnome-icon-theme gtk+-dev intltool lcms-dev util-linux-uuid-dev \
17 poppler-dev tiff-dev dbus-glib-dev xorg-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure --prefix=/usr \
24 --libexecdir=/usr/lib/$PACKAGE \
25 --disable-nautilus \
26 --disable-scrollkeeper \
27 --disable-comics \
28 --without-gconf \
29 --without-keyring \
30 --disable-schemas-install \
31 --disable-gtk-doc-html \
32 --with-help-formats=none \
33 --disable-help \
34 $CONFIGURE_ARGS &&
35 make -j1 && make -j1 DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/glib-2.0 $fs/usr/lib $fs/usr/share/applications
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/evince $fs/usr/lib
46 cp -a $install/usr/share/dbus-1 $fs/usr/share
47 cp -a $install/usr/share/icons $fs/usr/share
48 cp -a $install/usr/share/evince $fs/usr/share
49 cp -a $install/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0
50 cp -a $stuff/evince.desktop $fs/usr/share/applications
52 # Removing unwanted files
53 find $fs/usr/lib -name "*.*a" -exec rm -rf {} \;
54 }
56 # Post install/remove commands for Tazpkg.
57 post_install()
58 {
59 echo "Processing post-install commands..."
60 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
61 }
63 post_remove()
64 {
65 echo "Processing post-remove commands..."
66 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
67 }