wok-next view evince/receipt @ rev 20335

Up openttd (1.7.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 16 18:27:48 2017 +0100 (2017-11-16)
parents bf4cf6b0f742
children e1c0edabdcb2
line source
1 # SliTaz package receipt v2.
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"
13 BUILD_DEPENDS="gnome-doc-utils-dev docbook-xml libxml2-dev \
14 gnome-icon-theme gtk+-dev intltool lcms-dev util-linux-uuid-dev \
15 poppler-dev tiff-dev dbus-glib-dev xorg-dev lcms2-dev"
16 SPLIT="evince evince-dev evince-doc"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --prefix=/usr \
22 --libexecdir=/usr/lib/$PACKAGE \
23 --disable-nautilus \
24 --disable-scrollkeeper \
25 --disable-comics \
26 --without-gconf \
27 --without-keyring \
28 --disable-schemas-install \
29 --disable-gtk-doc-html \
30 --with-help-formats=none \
31 --disable-help \
32 $CONFIGURE_ARGS &&
33 make -j1 && make -j1 DESTDIR=$DESTDIR install
35 # Check for evince-doc
36 [ -d $install/usr/share/gnome -a \
37 -d $install/usr/share/gtk-doc -a \
38 -d $install/usr/share/omf ]
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 case $PACKAGE in
45 evince)
46 TAGS="viewer pdf tiff ps postscript dvi"
47 DEPENDS="lcms poppler tiff dbus-glib glib util-linux-uuid"
48 mkdir -p $fs/usr/share/glib-2.0 $fs/usr/lib $fs/usr/share/applications
49 cp -a $install/usr/bin $fs/usr
50 cp -a $install/usr/lib/*.so* $fs/usr/lib
51 cp -a $install/usr/lib/evince $fs/usr/lib
53 cp -a $install/usr/share/dbus-1 $fs/usr/share
54 cp -a $install/usr/share/icons $fs/usr/share
55 cp -a $install/usr/share/evince $fs/usr/share
56 cp -a $install/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0
57 cp -a $stuff/evince.desktop $fs/usr/share/applications
59 # Removing unwanted files
60 find $fs/usr/lib -name "*.*a" -exec rm -rf {} \;
61 ;;
62 evince-dev)
63 CAT="office|Evince developement headers files."
64 DEPENDS="evince gnome-doc-utils"
65 mkdir -p $fs/usr/lib/evince/3/backends
67 cp -a $install/usr/include $fs/usr
68 cp -a $install/usr/lib/*.*a $fs/usr/lib
69 cp -a $install/usr/lib/evince/3/backends/*.*a $fs/usr/lib/evince/3/backends
70 ;;
71 evince-doc)
72 CAT="development|Evince documention."
73 DEPENDS="evince"
74 # Note: Evince build disables local help in favor of online help.
75 # Consider removing this package from wok.
76 mkdir -p $fs/usr/share
77 cp -a $install/usr/share/gtk-doc $fs/usr/share
78 ;;
79 esac
80 }