wok diff djvulibre/receipt @ rev 14806

Down tazdrop (4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 17 09:36:02 2013 +0200 (2013-07-17)
parents
children 380ffe05937a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/djvulibre/receipt	Wed Jul 17 09:36:02 2013 +0200
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="djvulibre"
     1.7 +VERSION="3.5.25.3"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="A web-centric format and software platform for distributing documents and images."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://djvu.sourceforge.net/"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WGET_URL="$SF_MIRROR/djvu/$TARBALL"
    1.14 +
    1.15 +DEPENDS="gcc-lib-base tiff jpeg"
    1.16 +BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash librsvg-apps"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	./configure \
    1.22 +		--sysconfdir=/etc \
    1.23 +		$CONFIGURE_ARGS &&
    1.24 +	make &&
    1.25 +	make install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.32 +	cp -a $install/usr/lib/*so* $fs/usr/lib
    1.33 +	cp -a $install/usr/bin $fs/usr
    1.34 +	cp -a $install/usr/share/djvu $fs/usr/share
    1.35 +}