wok-undigest rev 1011

Add djvulibre
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 23 13:21:02 2013 +0200 (2013-04-23)
parents b6aba65f66be
children 79114db2e76e
files djvulibre-dev/receipt djvulibre/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/djvulibre-dev/receipt	Tue Apr 23 13:21:02 2013 +0200
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="djvulibre-dev"
     1.7 +VERSION="3.5.25.3"
     1.8 +CATEGORY="developement"
     1.9 +SHORT_DESC="A web-centric format and software platform for distributing documents and images, development files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://djvu.sourceforge.net/"
    1.12 +WANTED="djvulibre"
    1.13 +
    1.14 +DEPENDS="djvulibre"
    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
    1.20 +	cp $install/usr/include $fs/usr
    1.21 +	cp $install/usr/lib/*a $fs/usr/lib
    1.22 +	cp $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/djvulibre/receipt	Tue Apr 23 13:21:02 2013 +0200
     2.3 @@ -0,0 +1,32 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="djvulibre"
     2.7 +VERSION="3.5.25.3"
     2.8 +CATEGORY="office"
     2.9 +SHORT_DESC="A web-centric format and software platform for distributing documents and images."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +WEB_SITE="http://djvu.sourceforge.net/"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WGET_URL="$SF_MIRROR/djvu/$TARBALL"
    2.14 +
    2.15 +DEPENDS="gcc-lib-base tiff jpeg"
    2.16 +BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash librsvg-apps"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	./configure \
    2.22 +		--sysconfdir=/etc \
    2.23 +		$CONFIGURE_ARGS &&
    2.24 +	make &&
    2.25 +	make install
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	mkdir -p $fs/usr/lib $fs/usr/share
    2.32 +	cp $install/usr/lib/*so* $fs/usr/lib
    2.33 +	cp $install/usr/bin $fs/usr
    2.34 +	cp $install/usr/share/djvu $fs/usr/share
    2.35 +}