wok-6.x view evince/receipt @ rev 18414
Add pyhn
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Sep 20 16:19:24 2015 +0100 (2015-09-20) |
parents | 7896f0694ef6 |
children | d6ca18366f41 |
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 ./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 $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/evince $fs/usr/lib
45 cp -a $install/usr/share/dbus-1 $fs/usr/share
46 cp -a $install/usr/share/icons $fs/usr/share
47 cp -a $install/usr/share/evince $fs/usr/share
48 cp -a $install/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 }