wok rev 25019

updated openjpeg2 and openjpeg2-dev (2.3.1 -> 2.5.0)
author Hans-G?nter Theisgen
date Wed May 18 07:22:38 2022 +0100 (2022-05-18)
parents 187817c5a810
children c8f5c3a4bd86
files openjpeg2-dev/receipt openjpeg2/receipt
line diff
     1.1 --- a/openjpeg2-dev/receipt	Wed May 18 07:14:08 2022 +0100
     1.2 +++ b/openjpeg2-dev/receipt	Wed May 18 07:22:38 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openjpeg2-dev"
     1.7 -VERSION="2.3.1"
     1.8 +VERSION="2.5.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Development files for openjpeg (ver. 2.x)."
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -16,7 +16,6 @@
    1.13  {
    1.14  	mkdir -p $fs/usr/lib
    1.15  
    1.16 -	cp -a $install/usr/include		$fs/usr
    1.17  	cp -a $install/usr/lib/openjpeg-*	$fs/usr/lib
    1.18 +	cook_copy_folders	include
    1.19  }
    1.20 -
     2.1 --- a/openjpeg2/receipt	Wed May 18 07:14:08 2022 +0100
     2.2 +++ b/openjpeg2/receipt	Wed May 18 07:22:38 2022 +0100
     2.3 @@ -1,12 +1,13 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="openjpeg2"
     2.7 -VERSION="2.3.1"
     2.8 +VERSION="2.5.0"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Open-source C-Library for JPEG 2000 (ver. 2.x)."
    2.11  MAINTAINER="al.bobylev@gmail.com"
    2.12  LICENSE="BSD"
    2.13  WEB_SITE="https://www.openjpeg.org/"
    2.14 +REPOLOGY="openjpeg"
    2.15  
    2.16  SOURCE="openjpeg"
    2.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18 @@ -24,8 +25,10 @@
    2.19  # Rules to configure and make the package.
    2.20  compile_rules()
    2.21  {
    2.22 -	cmake	.			\
    2.23 -		-DCMAKE_INSTALL_PREFIX=/usr &&
    2.24 +	mkdir	_build &&
    2.25 +	cd	_build &&
    2.26 +	cmake	..				\
    2.27 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    2.28  	make &&
    2.29  	make install
    2.30  }
    2.31 @@ -33,8 +36,6 @@
    2.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.33  genpkg_rules()
    2.34  {
    2.35 -	mkdir -p $fs/usr/lib
    2.36 -
    2.37 -	cp -a $install/usr/bin		$fs/usr
    2.38 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.39 +	cook_copy_folders	bin
    2.40 +	cook_copy_files		*.so*
    2.41  }