wok diff openjpeg2/receipt @ rev 25359
updated tinyssh (20210601 -> 20220311)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 27 08:03:11 2022 +0100 (2022-07-27) |
parents | 5ea0ce1cecc0 |
children | 7364ffdaaa60 |
line diff
1.1 --- a/openjpeg2/receipt Tue Jun 08 08:46:05 2021 +0000 1.2 +++ b/openjpeg2/receipt Wed Jul 27 08:03:11 2022 +0100 1.3 @@ -1,12 +1,13 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="openjpeg2" 1.7 -VERSION="2.3.1" 1.8 +VERSION="2.5.0" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Open-source C-Library for JPEG 2000 (ver. 2.x)." 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 LICENSE="BSD" 1.13 WEB_SITE="https://www.openjpeg.org/" 1.14 +REPOLOGY="openjpeg" 1.15 1.16 SOURCE="openjpeg" 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 @@ -24,8 +25,10 @@ 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 { 1.22 - cmake . \ 1.23 - -DCMAKE_INSTALL_PREFIX=/usr && 1.24 + mkdir _build && 1.25 + cd _build && 1.26 + cmake .. \ 1.27 + -D CMAKE_INSTALL_PREFIX=/usr && 1.28 make && 1.29 make install 1.30 } 1.31 @@ -33,8 +36,6 @@ 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 - mkdir -p $fs/usr/lib 1.36 - 1.37 - cp -a $install/usr/bin $fs/usr 1.38 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.39 + cook_copy_folders bin 1.40 + cook_copy_files *.so* 1.41 }