wok-current diff opencv/receipt @ rev 25155
updated proxytunnel (1.9.0 -> 1.10)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 30 15:35:33 2022 +0100 (2022-06-30) |
parents | 5ea0ce1cecc0 |
children |
line diff
1.1 --- a/opencv/receipt Tue Jun 08 08:46:05 2021 +0000 1.2 +++ b/opencv/receipt Thu Jun 30 15:35:33 2022 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="opencv" 1.7 -VERSION="4.2.0" 1.8 +VERSION="4.5.5" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Open source computer vision library." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -12,7 +12,7 @@ 1.13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION/$TARBALL" 1.14 1.15 DEPENDS="ffmpeg gcc83-lib-base gtk+ jpeg libpng tiff" 1.16 -BUILD_DEPENDS="cmake ffmpeg-dev gcc83 gtk+-dev jpeg-dev libgnutls \ 1.17 +BUILD_DEPENDS="cmake ffmpeg-dev gcc83 gtk+-dev jpeg-dev libgnutls 1.18 libpng-dev tiff-dev" 1.19 1.20 current_version() 1.21 @@ -28,21 +28,19 @@ 1.22 export CXX=g++-83 1.23 export LDFLAGS="$LDFLAGS -latomic" 1.24 1.25 - mkdir build && 1.26 - cd build && 1.27 + mkdir _build && 1.28 + cd _build && 1.29 cmake .. \ 1.30 - -DCMAKE_INSTALL_PREFIX=/usr \ 1.31 - -DENABLE_PRECOMPILED_HEADERS=OFF && 1.32 + -D CMAKE_INSTALL_PREFIX=/usr \ 1.33 + -D ENABLE_PRECOMPILED_HEADERS=OFF && 1.34 make && 1.35 - make DESTDIR=$DESTDIR install 1.36 + make install DESTDIR=$DESTDIR 1.37 } 1.38 1.39 # Rules to gen a SliTaz package suitable for Tazpkg. 1.40 genpkg_rules() 1.41 { 1.42 - mkdir -p $fs/usr/lib 1.43 - 1.44 - cp -a $install/usr/bin $fs/usr 1.45 - cp -a $install/usr/share $fs/usr 1.46 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.47 + cook_copy_folders bin 1.48 + cook_copy_folders share 1.49 + cook_copy_files *.so* 1.50 }