wok-next diff jasper/receipt @ rev 20871

fossil: up (2.6) / fix build; sqlite3: up (3.24.0), drop providing "sqlite[^3]*"; add staticperl
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 02 22:39:08 2018 +0300 (2018-07-02)
parents c4e53a39395a
children f48456621a9d
line diff
     1.1 --- a/jasper/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ b/jasper/receipt	Mon Jul 02 22:39:08 2018 +0300
     1.3 @@ -1,32 +1,35 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="jasper"
     1.7 -VERSION="2.0.12"
     1.8 +VERSION="2.0.14"
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="Implementation of JPEG-2000 codec"
    1.11  MAINTAINER="jozee@slitaz.org"
    1.12  LICENSE="MIT"
    1.13  WEB_SITE="http://www.ece.uvic.ca/~frodo/jasper/"
    1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/jasper.html"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="${WEB_SITE}software/$TARBALL"
    1.18 +WGET_URL="http://www.ece.uvic.ca/~frodo/jasper/software/$TARBALL"
    1.19  
    1.20  BUILD_DEPENDS="cmake libjpeg-turbo-dev"
    1.21  SPLIT="jasper-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	mkdir -p build
    1.27 -	cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr
    1.28 -	cd build
    1.29 -	make clean all &&
    1.30 +compile_rules() {
    1.31 +	mkdir build
    1.32 +	cd    build
    1.33 +	cmake \
    1.34 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.35 +		-DCMAKE_BUILD_TYPE=Release \
    1.36 +		-DCMAKE_SKIP_INSTALL_RPATH=YES \
    1.37 +		-DJAS_ENABLE_DOC=NO \
    1.38 +		-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/jasper-$VERSION \
    1.39 +		.. &&
    1.40 +	make &&
    1.41  	make install
    1.42  }
    1.43  
    1.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 -genpkg_rules()
    1.46 -{
    1.47 +genpkg_rules() {
    1.48  	case $PACKAGE in
    1.49  		jasper)
    1.50  			copy @std