wok-4.x annotate evince/receipt @ rev 9216
open-iscsi: patch usr/iscsi_sysfs.c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 14:52:45 2011 +0100 (2011-03-11) |
parents | d1b138ae6772 |
children | da14a8cdb0bd |
rev | line source |
---|---|
erjo@4727 | 1 # SliTaz package receipt. |
erjo@4727 | 2 |
erjo@4727 | 3 PACKAGE="evince" |
pascal@6035 | 4 VERSION="2.30.3" |
erjo@4727 | 5 CATEGORY="office" |
erjo@4727 | 6 SHORT_DESC="Document viewer for Gnome" |
erjo@4727 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@5026 | 8 DEPENDS="lcms poppler tiff dbus-glib" |
gokhlayeh@8794 | 9 BUILD_DEPENDS="gnome-doc-utils-dev gnome-icon-theme gtk+-dev intltool" |
erjo@4727 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4727 | 11 WEB_SITE="http://projects.gnome.org/evince/" |
erjo@4727 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/evince/${VERSION%.*}/${TARBALL}" |
jozee@4935 | 13 TAGS="viewer pdf tiff ps postscript dvi" |
erjo@4727 | 14 |
erjo@4727 | 15 # Rules to configure and make the package. |
erjo@4727 | 16 compile_rules() |
erjo@4727 | 17 { |
erjo@4727 | 18 cd $src |
erjo@4727 | 19 ./configure --prefix=/usr \ |
erjo@4727 | 20 --libexecdir=/usr/lib/$PACKAGE \ |
erjo@4727 | 21 --disable-nautilus \ |
erjo@4727 | 22 --disable-scrollkeeper \ |
erjo@4727 | 23 --disable-comics \ |
erjo@4727 | 24 --without-gconf \ |
erjo@4727 | 25 --without-keyring \ |
erjo@4727 | 26 --disable-schemas-install \ |
erjo@4727 | 27 --disable-gtk-doc-html \ |
erjo@4727 | 28 --with-help-formats=none \ |
erjo@4727 | 29 $CONFIGURE_ARGS && |
erjo@4727 | 30 make && make DESTDIR=$PWD/_pkg install |
erjo@4727 | 31 } |
erjo@4727 | 32 |
erjo@4727 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4727 | 34 genpkg_rules() |
erjo@4727 | 35 { |
erjo@4727 | 36 mkdir -p $fs/usr/share $fs/usr/lib |
erjo@4727 | 37 cp -a $_pkg/usr/bin $fs/usr |
erjo@4727 | 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@4727 | 39 cp -a $_pkg/usr/lib/evince $fs/usr/lib |
erjo@4727 | 40 |
erjo@4727 | 41 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share |
erjo@4727 | 42 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@4727 | 43 cp -a $_pkg/usr/share/evince $fs/usr/share |
erjo@4727 | 44 |
erjo@4727 | 45 # Removing unwanted files |
erjo@4727 | 46 find $fs/usr/lib -name "*.*a" -exec rm -rf {} \; |
erjo@4727 | 47 } |