wok rev 24486

updated djvulibre and djvulibre-dev (3.5.27 -> 3.5.28)
author Hans-G?nter Theisgen
date Fri Feb 18 16:54:18 2022 +0100 (2022-02-18)
parents 8b0cae52419d
children bf200e645e3f
files djvulibre-dev/receipt djvulibre/description.txt djvulibre/receipt
line diff
     1.1 --- a/djvulibre-dev/receipt	Fri Feb 18 16:41:03 2022 +0100
     1.2 +++ b/djvulibre-dev/receipt	Fri Feb 18 16:54:18 2022 +0100
     1.3 @@ -1,22 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="djvulibre-dev"
     1.7 -VERSION="3.5.27"
     1.8 +VERSION="3.5.28"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="djvulibre development files"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://djvu.sourceforge.net/"
    1.14 -WANTED="djvulibre"
    1.15 -#HOST_ARCH="i486 arm"
    1.16 +WEB_SITE="https://sourceforge.net/projects/djvu/"
    1.17  
    1.18  DEPENDS="djvulibre pkg-config"
    1.19 +WANTED="djvulibre"
    1.20 +
    1.21 +#HOST_ARCH="i486 arm"
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26 -	mkdir -p $fs/usr/lib
    1.27 -	cp -a $install/usr/include $fs/usr
    1.28 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.29 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.30 +	cook_copy_folders	include
    1.31 +	cook_copy_folders	pkgconfig
    1.32 +	cook_copy_files		*.*a
    1.33  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/djvulibre/description.txt	Fri Feb 18 16:54:18 2022 +0100
     2.3 @@ -0,0 +1,4 @@
     2.4 +DjVu is a web-centric format for distributing documents and images.
     2.5 +DjVu was created at AT&T Labs-Research and later sold to LizardTech Inc.
     2.6 +DjVuLibre is a GPL implementation of DjVu maintained by the original
     2.7 +inventors of DjVu.
     3.1 --- a/djvulibre/receipt	Fri Feb 18 16:41:03 2022 +0100
     3.2 +++ b/djvulibre/receipt	Fri Feb 18 16:54:18 2022 +0100
     3.3 @@ -1,20 +1,21 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="djvulibre"
     3.7 -VERSION="3.5.27"
     3.8 +VERSION="3.5.28"
     3.9  CATEGORY="office"
    3.10  SHORT_DESC="A web-centric format and software platform for distributing documents and images."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12  LICENSE="GPL2"
    3.13 -WEB_SITE="http://djvu.sourceforge.net/"
    3.14 +WEB_SITE="https://sourceforge.net/projects/djvu/"
    3.15 +
    3.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.17  WGET_URL="$SF_MIRROR/djvu/$TARBALL"
    3.18  
    3.19 +DEPENDS="jpeg tiff"
    3.20 +BUILD_DEPENDS="bash jpeg-dev librsvg-apps tiff-dev xdg-utils"
    3.21 +
    3.22  #HOST_ARCH="i486 arm"
    3.23  
    3.24 -DEPENDS="gcc-lib-base tiff jpeg"
    3.25 -BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash librsvg-apps wget"
    3.26 -
    3.27  # Handle cross compilation. Build host must have: xdg-utils bash librsvg-apps
    3.28  case "$ARCH" in
    3.29  	arm*) BUILD_DEPENDS="tiff-dev jpeg-dev " ;;
    3.30 @@ -31,8 +32,8 @@
    3.31  # Rules to configure and make the package.
    3.32  compile_rules()
    3.33  {
    3.34 -	./configure \
    3.35 -		--sysconfdir=/etc \
    3.36 +	./configure			\
    3.37 +		--sysconfdir=/etc	\
    3.38  		$CONFIGURE_ARGS &&
    3.39  	make &&
    3.40  	make install
    3.41 @@ -41,8 +42,10 @@
    3.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.43  genpkg_rules()
    3.44  {
    3.45 -	mkdir -p $fs/usr/lib $fs/usr/share
    3.46 -	cp -a $install/usr/lib/*so* $fs/usr/lib
    3.47 -	cp -a $install/usr/bin $fs/usr
    3.48 -	cp -a $install/usr/share/djvu $fs/usr/share
    3.49 +	mkdir -p $fs/usr/lib
    3.50 +	mkdir -p $fs/usr/share
    3.51 +
    3.52 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    3.53 +	cp -a $install/usr/bin		$fs/usr
    3.54 +	cp -a $install/usr/share/djvu	$fs/usr/share
    3.55  }