wok rev 25017

updated openjpeg, openjpeg-dev and openjpeg-tools (1.5.0 -> 1.5.2)
author Hans-G?nter Theisgen
date Wed May 18 06:55:41 2022 +0100 (2022-05-18)
parents 426a1cad702b
children 187817c5a810
files openjpeg-dev/receipt openjpeg-tools/receipt openjpeg/description.txt openjpeg/receipt
line diff
     1.1 --- a/openjpeg-dev/receipt	Wed May 18 06:13:55 2022 +0100
     1.2 +++ b/openjpeg-dev/receipt	Wed May 18 06:55:41 2022 +0100
     1.3 @@ -1,23 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openjpeg-dev"
     1.7 -VERSION="1.5.0"
     1.8 +VERSION="1.5.2"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="devel files for openjpeg"
    1.11 +SHORT_DESC="Development files for openjpeg."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="BSD"
    1.14 -WEB_SITE="http://www.openjpeg.org/"
    1.15 +WEB_SITE="https://www.openjpeg.org/"
    1.16 +
    1.17 +DEPENDS="openjpeg pkg-config"
    1.18 +WANTED="openjpeg"
    1.19 +
    1.20  HOST_ARCH="i486 arm"
    1.21  
    1.22 -WANTED="openjpeg"
    1.23 -DEPENDS="openjpeg pkg-config"
    1.24 -
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	mkdir -p $fs/usr/lib
    1.29 -	cp -a $install/usr/include $fs/usr
    1.30 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.31 -	cp -a $install/usr/lib/*.la $fs/usr/lib
    1.32 +	cook_copy_folders	include
    1.33 +	cook_copy_folders	pkgconfig
    1.34 +	cook_copy_files		*.*a
    1.35  }
    1.36  
     2.1 --- a/openjpeg-tools/receipt	Wed May 18 06:13:55 2022 +0100
     2.2 +++ b/openjpeg-tools/receipt	Wed May 18 06:55:41 2022 +0100
     2.3 @@ -1,12 +1,12 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="openjpeg-tools"
     2.7 -VERSION="1.5.0"
     2.8 +VERSION="1.5.2"
     2.9  CATEGORY="development"
    2.10 -SHORT_DESC="binary files for openjpeg"
    2.11 +SHORT_DESC="Binary files for openjpeg."
    2.12  MAINTAINER="al.bobylev@gmail.com"
    2.13  LICENSE="BSD"
    2.14 -WEB_SITE="http://www.openjpeg.org/"
    2.15 +WEB_SITE="https://www.openjpeg.org/"
    2.16  
    2.17  DEPENDS="glibc-base openjpeg tiff"
    2.18  WANTED="openjpeg"
    2.19 @@ -14,6 +14,5 @@
    2.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.21  genpkg_rules()
    2.22  {
    2.23 -	mkdir -p $fs/usr
    2.24 -	cp -a $install/usr/bin $fs/usr
    2.25 +	cook_copy_folders	bin
    2.26  }
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/openjpeg/description.txt	Wed May 18 06:55:41 2022 +0100
     3.3 @@ -0,0 +1,6 @@
     3.4 +OpenJPEG is an open-source JPEG 2000 codec written in C language.
     3.5 +It has been developed in order to promote the use of JPEG 2000,
     3.6 +a still-image compression standard from the Joint Photographic
     3.7 +Experts Group (JPEG).
     3.8 +Since May 2015, it is officially recognized by ISO/IEC and ITU-T
     3.9 +as a JPEG 2000 Reference Software.
     4.1 --- a/openjpeg/receipt	Wed May 18 06:13:55 2022 +0100
     4.2 +++ b/openjpeg/receipt	Wed May 18 06:55:41 2022 +0100
     4.3 @@ -1,18 +1,20 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="openjpeg"
     4.7 -VERSION="1.5.0"
     4.8 +VERSION="1.5.2"
     4.9  CATEGORY="development"
    4.10 -SHORT_DESC="An open source JPEG 2000 codec"
    4.11 +SHORT_DESC="An open source JPEG 2000 codec."
    4.12  MAINTAINER="slaxemulator@gmail.com"
    4.13  LICENSE="BSD"
    4.14 +WEB_SITE="https://www.openjpeg.org/"
    4.15 +
    4.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.17 -WEB_SITE="http://www.openjpeg.org/"
    4.18 -WGET_URL="https://github.com/uclouvain/openjpeg/archive/refs/tags/version.1.5.tar.gz"
    4.19 -HOST_ARCH="i486 arm"
    4.20 +WGET_URL="https://github.com/uclouvain/$PACKAGE/archive/refs/tags/version.$VERSION.tar.gz"
    4.21  
    4.22  DEPENDS="glibc-base"
    4.23 -BUILD_DEPENDS="zlib-dev tiff-dev"
    4.24 +BUILD_DEPENDS="autoconf automake libtool tiff-dev zlib-dev"
    4.25 +
    4.26 +HOST_ARCH="i486 arm"
    4.27  
    4.28  # What is the latest version available today?
    4.29  current_version()
    4.30 @@ -24,20 +26,22 @@
    4.31  # Rules to configure and make the package.
    4.32  compile_rules()
    4.33  {
    4.34 -	# make sure we use system libs
    4.35 -	[ -d thirtparty ] && rm -rf thirtparty
    4.36 -	./configure --enable-lcms2=no \
    4.37 -		--enable-png=no \
    4.38 -		--enable-lcms1=no \
    4.39 -		--disable-static \
    4.40 +	# make sure we use system libraries
    4.41 +	[ -d thirdparty ] && rm -rf thirdparty
    4.42 +
    4.43 +	./bootstrap.sh &&
    4.44 +	./configure			\
    4.45 +		--enable-lcms1=no	\
    4.46 +		--enable-lcms2=no	\
    4.47 +		--enable-png=no		\
    4.48 +		--disable-static	\
    4.49  		$CONFIGURE_ARGS &&
    4.50 -	make && make DESTDIR=$DESTDIR install
    4.51 +	make &&
    4.52 +	make install DESTDIR=$DESTDIR
    4.53  }
    4.54  
    4.55  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.56  genpkg_rules()
    4.57  {
    4.58 -	mkdir -p $fs/usr/lib
    4.59 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.60 +	cook_copy_files	*.so*
    4.61  }
    4.62 -