wok rev 21629

updated openjpeg2 and openjpeg2-dev (2.0.0 -> 2.3.1)
author Hans-G?nter Theisgen
date Tue May 28 13:30:16 2019 +0100 (2019-05-28)
parents 0e811092e7bb
children 4b9ad2d4ee30
files openjpeg2-dev/receipt openjpeg2/receipt
line diff
     1.1 --- a/openjpeg2-dev/receipt	Mon May 27 23:23:13 2019 +0200
     1.2 +++ b/openjpeg2-dev/receipt	Tue May 28 13:30:16 2019 +0100
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openjpeg2-dev"
     1.7 -VERSION="2.0.0"
     1.8 +VERSION="2.3.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Development files for openjpeg (ver. 2.x)"
    1.11 +SHORT_DESC="Development files for openjpeg (ver. 2.x)."
    1.12  MAINTAINER="al.bobylev@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="openjpeg2"
    1.18  WANTED="openjpeg2"
    1.19 @@ -15,7 +15,7 @@
    1.20  genpkg_rules()
    1.21  {
    1.22  	mkdir -p $fs/usr/lib
    1.23 -	cp -a $install/usr/include $fs/usr
    1.24 -	cp -a $install/usr/lib/openjpeg-* $fs/usr/lib
    1.25 +
    1.26 +	cp -a $install/usr/include		$fs/usr
    1.27 +	cp -a $install/usr/lib/openjpeg-*	$fs/usr/lib
    1.28  }
    1.29 -
     2.1 --- a/openjpeg2/receipt	Mon May 27 23:23:13 2019 +0200
     2.2 +++ b/openjpeg2/receipt	Tue May 28 13:30:16 2019 +0100
     2.3 @@ -1,14 +1,16 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="openjpeg2"
     2.7 -VERSION="2.0.0"
     2.8 +VERSION="2.3.1"
     2.9  CATEGORY="development"
    2.10 -SHORT_DESC="Open-source C-Library for JPEG 2000 (ver. 2.x)"
    2.11 +SHORT_DESC="Open-source C-Library for JPEG 2000 (ver. 2.x)."
    2.12  MAINTAINER="al.bobylev@gmail.com"
    2.13  LICENSE="BSD"
    2.14 -WEB_SITE="http://www.openjpeg.org/"
    2.15 -TARBALL="openjpeg-$VERSION.tar.gz"
    2.16 -WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
    2.17 +WEB_SITE="https://www.openjpeg.org/"
    2.18 +
    2.19 +SOURCE="openjpeg"
    2.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.21 +WGET_URL="https://github.com/uclouvain/$SOURCE/archive/$VERSION.tar.gz"
    2.22  
    2.23  DEPENDS="glibc-base tiff zlib"
    2.24  BUILD_DEPENDS="cmake tiff-dev"
    2.25 @@ -16,14 +18,17 @@
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28  {
    2.29 -	cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && make install
    2.30 +	cmake	.			\
    2.31 +		-DCMAKE_INSTALL_PREFIX=/usr &&
    2.32 +	make &&
    2.33 +	make install
    2.34  }
    2.35  
    2.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.37  genpkg_rules()
    2.38  {
    2.39  	mkdir -p $fs/usr/lib
    2.40 -	cp -a $install/usr/bin $fs/usr
    2.41 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.42 +
    2.43 +	cp -a $install/usr/bin		$fs/usr
    2.44 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.45  }
    2.46 -