wok-next view evince/receipt @ rev 19734

Up cookutils(905) (v2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 27 16:29:45 2017 +0300 (2017-05-27)
parents feb2e0c63d21
children bf4cf6b0f742
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 }