wok rev 4727
Add: evince, *-doc, *-dev
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jan 06 16:26:38 2010 +0100 (2010-01-06) |
parents | 7ae478e2ad1e |
children | 09c454bea68c |
files | evince-dev/receipt evince-doc/receipt evince/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/evince-dev/receipt Wed Jan 06 16:26:38 2010 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="evince-dev" 1.7 +VERSION="2.29.4" 1.8 +CATEGORY="office" 1.9 +SHORT_DESC="Evince developement headers files." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="evince gnome-doc-utils" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://projects.gnome.org/evince/" 1.14 +WANTED="evince" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/lib/evince/2/backends 1.20 + 1.21 + cp -a $_pkg/usr/include $fs/usr 1.22 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.23 + cp -a $_pkg/usr/lib/evince/2/backends/*.*a $fs/usr/lib/evince/2/backends 1.24 + 1.25 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/evince-doc/receipt Wed Jan 06 16:26:38 2010 +0100 2.3 @@ -0,0 +1,20 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="evince-doc" 2.7 +VERSION="2.29.4" 2.8 +CATEGORY="developement" 2.9 +SHORT_DESC="Evince documention." 2.10 +MAINTAINER="erjo@slitaz.org" 2.11 +DEPENDS="evince" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.13 +WEB_SITE="http://projects.gnome.org/evince/" 2.14 +WANTED="evince" 2.15 + 2.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.17 +genpkg_rules() 2.18 +{ 2.19 + mkdir -p $fs/usr/share 2.20 + cp -a $_pkg/usr/share/gnome $fs/usr/share 2.21 + cp -a $_pkg/usr/share/gtk-doc $fs/usr/share 2.22 + cp -a $_pkg/usr/share/omf $fs/usr/share 2.23 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/evince/receipt Wed Jan 06 16:26:38 2010 +0100 3.3 @@ -0,0 +1,46 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="evince" 3.7 +VERSION="2.29.4" 3.8 +CATEGORY="office" 3.9 +SHORT_DESC="Document viewer for Gnome" 3.10 +MAINTAINER="erjo@slitaz.org" 3.11 +DEPENDS="lcms poppler tiff" 3.12 +BUILD_DEPENDS="gnome-doc-utils-dev gnome-icon-theme lcms-dev poppler-dev gtk+-dev tiff-dev" 3.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.14 +WEB_SITE="http://projects.gnome.org/evince/" 3.15 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/evince/${VERSION%.*}/${TARBALL}" 3.16 + 3.17 +# Rules to configure and make the package. 3.18 +compile_rules() 3.19 +{ 3.20 + cd $src 3.21 + ./configure --prefix=/usr \ 3.22 + --libexecdir=/usr/lib/$PACKAGE \ 3.23 + --disable-nautilus \ 3.24 + --disable-scrollkeeper \ 3.25 + --disable-comics \ 3.26 + --without-gconf \ 3.27 + --without-keyring \ 3.28 + --disable-schemas-install \ 3.29 + --disable-gtk-doc-html \ 3.30 + --with-help-formats=none \ 3.31 + $CONFIGURE_ARGS && 3.32 + make && make DESTDIR=$PWD/_pkg install 3.33 +} 3.34 + 3.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.36 +genpkg_rules() 3.37 +{ 3.38 + mkdir -p $fs/usr/share $fs/usr/lib 3.39 + cp -a $_pkg/usr/bin $fs/usr 3.40 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 3.41 + cp -a $_pkg/usr/lib/evince $fs/usr/lib 3.42 + 3.43 + cp -a $_pkg/usr/share/dbus-1 $fs/usr/share 3.44 + cp -a $_pkg/usr/share/icons $fs/usr/share 3.45 + cp -a $_pkg/usr/share/evince $fs/usr/share 3.46 + 3.47 + # Removing unwanted files 3.48 + find $fs/usr/lib -name "*.*a" -exec rm -rf {} \; 3.49 +}