wok diff jasper/receipt @ rev 24849
updated libwebp and libwebp-dev (1.1.0 -> 1.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 17:27:11 2022 +0100 (2022-03-25) |
parents | f8a963794d31 |
children | 20ad21d5532c |
line diff
1.1 --- a/jasper/receipt Thu Sep 16 13:07:33 2021 +0000 1.2 +++ b/jasper/receipt Fri Mar 25 17:27:11 2022 +0100 1.3 @@ -1,19 +1,20 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="jasper" 1.7 -VERSION="2.0.16" 1.8 +VERSION="3.0.2" 1.9 CATEGORY="graphics" 1.10 TAGS="jpeg jpg photo" 1.11 SHORT_DESC="Implementation of JPEG-2000 codec." 1.12 MAINTAINER="jozee@slitaz.org" 1.13 LICENSE="MIT" 1.14 -WEB_SITE="http://www.ece.uvic.ca/~mdadams/$PACKAGE/" 1.15 +WEB_SITE="https://www.ece.uvic.ca/~frodo/jasper/" 1.16 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 WGET_URL="https://github.com/mdadams/$PACKAGE/archive/version-$VERSION.tar.gz" 1.19 1.20 DEPENDS="freeglut jpeg libglu-mesa util-linux-uuid xorg-libXi xorg-libXmu" 1.21 BUILD_DEPENDS="cmake jpeg-dev xorg-libXi-dev xorg-libXmu-dev" 1.22 + 1.23 HOST_ARCH="i486 arm" 1.24 1.25 current_version() 1.26 @@ -25,22 +26,19 @@ 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - mkdir builddir 1.31 - cmake . \ 1.32 + mkdir _build && 1.33 + cd _build && 1.34 + cmake .. \ 1.35 -G "Unix Makefiles" \ 1.36 - -Bbuilddir \ 1.37 - -DCMAKE_INSTALL_PREFIX=/usr \ 1.38 - -DJAS_ENABLE_SHARED=yes && 1.39 - cd builddir 1.40 - make -j 1 && 1.41 - make DESTDIR=$DESTDIR install 1.42 - 1.43 + -D CMAKE_INSTALL_PREFIX=/usr \ 1.44 + -D JAS_ENABLE_SHARED=yes && 1.45 + make && 1.46 + make install DESTDIR=$DESTDIR 1.47 } 1.48 1.49 # Rules to gen a SliTaz package suitable for Tazpkg. 1.50 genpkg_rules() 1.51 { 1.52 - mkdir -p $fs/usr/lib 1.53 - cp -a $install/usr/bin $fs/usr 1.54 - cp -a $install/usr/lib/*so* $fs/usr/lib 1.55 + cook_copy_folders bin 1.56 + cook_copy_files *.so* 1.57 }