wok-next diff openjpeg2/receipt @ rev 20872
perl-texi2html -> texi2html (because it don't contain Perl modules, and not exists on the (meta)cpan, and old, and...); gcompris: up (11.12 -> 17.05)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 04 02:05:23 2018 +0300 (2018-07-04) |
parents | 9b83ae3e9ce7 |
children | 4e6503d7a19f |
line diff
1.1 --- a/openjpeg2/receipt Fri Jun 23 16:10:03 2017 +0300 1.2 +++ b/openjpeg2/receipt Wed Jul 04 02:05:23 2018 +0300 1.3 @@ -1,12 +1,13 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="openjpeg2" 1.7 -VERSION="2.1.2" 1.8 +VERSION="2.3.0" 1.9 CATEGORY="graphics" 1.10 -SHORT_DESC="Open-source C-Library for JPEG 2000 (ver. 2.x)" 1.11 +SHORT_DESC="Open-source C-Library for JPEG 2000 (v. 2.x)" 1.12 MAINTAINER="al.bobylev@gmail.com" 1.13 LICENSE="BSD" 1.14 WEB_SITE="http://www.openjpeg.org/" 1.15 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/openjpeg2.html" 1.16 1.17 TARBALL="openjpeg-$VERSION.tar.gz" 1.18 WGET_URL="https://github.com/uclouvain/openjpeg/archive/v$VERSION.tar.gz" 1.19 @@ -14,30 +15,28 @@ 1.20 BUILD_DEPENDS="cmake zlib-dev libpng16-dev tiff-dev lcms2-dev" 1.21 SPLIT="openjpeg2-tools openjpeg2-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - mkdir build && 1.27 - cd build && 1.28 +compile_rules() { 1.29 + mkdir build 1.30 + cd build 1.31 cmake \ 1.32 -DCMAKE_BUILD_TYPE=Release \ 1.33 - -DCMAKE_INSTALL_PREFIX=/usr .. && 1.34 - make && make install && 1.35 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.36 + .. && 1.37 + make && 1.38 + make install || return 1 1.39 1.40 cook_pick_manpages $src/doc/man/*/* 1.41 } 1.42 1.43 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.44 -genpkg_rules() 1.45 -{ 1.46 +genpkg_rules() { 1.47 case $PACKAGE in 1.48 openjpeg2) 1.49 copy *.so* 1.50 ;; 1.51 - *-tools) 1.52 + openjpeg2-tools) 1.53 copy bin/ 1.54 CAT="graphics|applications" 1.55 - DEPENDS="openjpeg2 lcms2 libpng16 tiff zlib" 1.56 + DEPENDS="openjpeg2 lcms2 libpng16 tiff" 1.57 ;; 1.58 *-dev) 1.59 copy @dev