wok-6.x diff evince/receipt @ rev 4916
Add zsync
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 15 09:50:33 2010 +0100 (2010-02-15) |
parents | |
children | 31c985a0bd3d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/evince/receipt Mon Feb 15 09:50:33 2010 +0100 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="evince" 1.7 +VERSION="2.29.4" 1.8 +CATEGORY="office" 1.9 +SHORT_DESC="Document viewer for Gnome" 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="lcms poppler tiff" 1.12 +BUILD_DEPENDS="gnome-doc-utils-dev gnome-icon-theme lcms-dev poppler-dev gtk+-dev tiff-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://projects.gnome.org/evince/" 1.15 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/evince/${VERSION%.*}/${TARBALL}" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure --prefix=/usr \ 1.22 + --libexecdir=/usr/lib/$PACKAGE \ 1.23 + --disable-nautilus \ 1.24 + --disable-scrollkeeper \ 1.25 + --disable-comics \ 1.26 + --without-gconf \ 1.27 + --without-keyring \ 1.28 + --disable-schemas-install \ 1.29 + --disable-gtk-doc-html \ 1.30 + --with-help-formats=none \ 1.31 + $CONFIGURE_ARGS && 1.32 + make && make DESTDIR=$PWD/_pkg install 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + mkdir -p $fs/usr/share $fs/usr/lib 1.39 + cp -a $_pkg/usr/bin $fs/usr 1.40 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.41 + cp -a $_pkg/usr/lib/evince $fs/usr/lib 1.42 + 1.43 + cp -a $_pkg/usr/share/dbus-1 $fs/usr/share 1.44 + cp -a $_pkg/usr/share/icons $fs/usr/share 1.45 + cp -a $_pkg/usr/share/evince $fs/usr/share 1.46 + 1.47 + # Removing unwanted files 1.48 + find $fs/usr/lib -name "*.*a" -exec rm -rf {} \; 1.49 +}