wok-next annotate evince/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | e1c0edabdcb2 |
children | fb9d8c16e8db |
rev | line source |
---|---|
pascal@20185 | 1 # SliTaz package receipt v2. |
erjo@4727 | 2 |
erjo@4727 | 3 PACKAGE="evince" |
slaxemulator@9357 | 4 VERSION="2.32.0" |
erjo@4727 | 5 CATEGORY="office" |
erjo@4727 | 6 SHORT_DESC="Document viewer for Gnome" |
erjo@4727 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@20473 | 9 WEB_SITE="http://projects.gnome.org/evince/" |
al@20473 | 10 |
erjo@4727 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@12595 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" |
erjo@4727 | 13 |
al@20534 | 14 BUILD_DEPENDS="gnome-doc-utils docbook-xml libxml2-dev \ |
pascal@15002 | 15 gnome-icon-theme gtk+-dev intltool lcms-dev util-linux-uuid-dev \ |
pascal@20003 | 16 poppler-dev tiff-dev dbus-glib-dev xorg-dev lcms2-dev" |
al@20473 | 17 SPLIT="evince-dev" |
monghitri@13986 | 18 |
al@20473 | 19 compile_rules() { |
al@20473 | 20 ./configure \ |
al@20473 | 21 --prefix=/usr \ |
erjo@4727 | 22 --libexecdir=/usr/lib/$PACKAGE \ |
erjo@4727 | 23 --disable-nautilus \ |
erjo@4727 | 24 --disable-scrollkeeper \ |
erjo@4727 | 25 --disable-comics \ |
erjo@4727 | 26 --without-gconf \ |
erjo@4727 | 27 --without-keyring \ |
erjo@4727 | 28 --disable-schemas-install \ |
erjo@4727 | 29 --disable-gtk-doc-html \ |
erjo@4727 | 30 --with-help-formats=none \ |
samuel_trassare@11788 | 31 --disable-help \ |
erjo@4727 | 32 $CONFIGURE_ARGS && |
al@20473 | 33 make -j1 && make -j1 DESTDIR=$DESTDIR install || return 1 |
pascal@20185 | 34 |
al@20473 | 35 install -Dm644 $stuff/evince.desktop $install/usr/share/applications/evince.desktop |
erjo@4727 | 36 } |
erjo@4727 | 37 |
al@20473 | 38 genpkg_rules() { |
pascal@20185 | 39 case $PACKAGE in |
al@20473 | 40 evince) |
al@20473 | 41 copy @std |
al@20473 | 42 TAGS="viewer pdf tiff ps postscript dvi" |
al@20473 | 43 DEPENDS="lcms poppler tiff dbus-glib glib util-linux-uuid" |
al@20473 | 44 ;; |
al@20534 | 45 *-dev) |
al@20473 | 46 copy @dev |
al@20473 | 47 ;; |
pascal@20185 | 48 esac |
erjo@4727 | 49 } |