wok rev 24685

updated jasper and jasper-dev (2.0.16 -> 3.0.2)
author Hans-G?nter Theisgen
date Sat Mar 12 11:11:48 2022 +0100 (2022-03-12)
parents 6ee95ce8dd55
children 77022d0ba24d
files jasper-dev/receipt jasper/description.txt jasper/receipt
line diff
     1.1 --- a/jasper-dev/receipt	Sat Mar 12 10:51:35 2022 +0100
     1.2 +++ b/jasper-dev/receipt	Sat Mar 12 11:11:48 2022 +0100
     1.3 @@ -1,23 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="jasper-dev"
     1.7 -VERSION="2.0.16"
     1.8 +VERSION="3.0.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Jasper development files."
    1.11  MAINTAINER="jozee@slitaz.org"
    1.12  LICENSE="MIT"
    1.13 -WEB_SITE="http://www.ece.uvic.ca/~mdadams/jasper/"
    1.14 +WEB_SITE="https://www.ece.uvic.ca/~frodo/jasper/" 
    1.15  
    1.16 +DEPENDS="jasper pkg-config"
    1.17  WANTED="jasper"
    1.18 -DEPENDS="jasper pkg-config"
    1.19 +
    1.20  HOST_ARCH="i486 arm"
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -	mkdir -p $fs/usr
    1.26 -
    1.27 -	#cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.28 -	#cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.29 -	cp -a $install/usr/include	$fs/usr
    1.30 +	get_dev_files
    1.31  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/jasper/description.txt	Sat Mar 12 11:11:48 2022 +0100
     2.3 @@ -0,0 +1,14 @@
     2.4 +The JasPer Project is an open-source initiative to provide a free
     2.5 +software-based reference implementation of the codec specified in
     2.6 +the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1).
     2.7 +This project was started as a collaborative effort between Image
     2.8 +Power, Inc. and the University of British Columbia.
     2.9 +Presently, the ongoing maintenance and development of the JasPer
    2.10 +software is being coordinated by its principal author, Michael Adams,
    2.11 +who is affiliated with the Digital Signal Processing Group (DSPG)
    2.12 +in the Department of Electrical and Computer Engineering at the
    2.13 +University of Victoria.
    2.14 +
    2.15 +JasPer includes a software-based implementation of the codec
    2.16 +specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1).
    2.17 +The JasPer software is written in the C programming language.
     3.1 --- a/jasper/receipt	Sat Mar 12 10:51:35 2022 +0100
     3.2 +++ b/jasper/receipt	Sat Mar 12 11:11:48 2022 +0100
     3.3 @@ -1,19 +1,20 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="jasper"
     3.7 -VERSION="2.0.16"
     3.8 +VERSION="3.0.2"
     3.9  CATEGORY="graphics"
    3.10  TAGS="jpeg jpg photo"
    3.11  SHORT_DESC="Implementation of JPEG-2000 codec."
    3.12  MAINTAINER="jozee@slitaz.org"
    3.13  LICENSE="MIT"
    3.14 -WEB_SITE="http://www.ece.uvic.ca/~mdadams/$PACKAGE/" 
    3.15 +WEB_SITE="https://www.ece.uvic.ca/~frodo/jasper/" 
    3.16  
    3.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.18  WGET_URL="https://github.com/mdadams/$PACKAGE/archive/version-$VERSION.tar.gz"
    3.19  
    3.20  DEPENDS="freeglut jpeg libglu-mesa util-linux-uuid xorg-libXi xorg-libXmu"
    3.21  BUILD_DEPENDS="cmake jpeg-dev xorg-libXi-dev xorg-libXmu-dev"
    3.22 +
    3.23  HOST_ARCH="i486 arm"
    3.24  
    3.25  current_version()
    3.26 @@ -25,22 +26,19 @@
    3.27  # Rules to configure and make the package.
    3.28  compile_rules()
    3.29  {
    3.30 -	mkdir	builddir
    3.31 -	cmake	.				\
    3.32 +	mkdir	_build &&
    3.33 +	cd	_build &&
    3.34 +	cmake	..				\
    3.35  		-G "Unix Makefiles"		\
    3.36 -		-Bbuilddir			\
    3.37 -		-DCMAKE_INSTALL_PREFIX=/usr	\
    3.38 -		-DJAS_ENABLE_SHARED=yes	&&
    3.39 -	cd	builddir
    3.40 -	make -j 1 &&
    3.41 -	make DESTDIR=$DESTDIR install
    3.42 -	
    3.43 +		-D CMAKE_INSTALL_PREFIX=/usr	\
    3.44 +		-D JAS_ENABLE_SHARED=yes	&&
    3.45 +	make &&
    3.46 +	make install DESTDIR=$DESTDIR
    3.47  }
    3.48  
    3.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.50  genpkg_rules()
    3.51  {
    3.52 -	mkdir -p $fs/usr/lib
    3.53 -	cp -a $install/usr/bin		$fs/usr
    3.54 -	cp -a $install/usr/lib/*so*	$fs/usr/lib	
    3.55 +	cook_copy_folders	bin
    3.56 +	cook_copy_files		*.so*
    3.57  }