wok annotate 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 |
rev | line source |
---|---|
al@14429 | 1 # SliTaz package receipt. |
al@14429 | 2 |
al@14429 | 3 PACKAGE="openjpeg2" |
Hans-G?nter@25019 | 4 VERSION="2.5.0" |
al@14429 | 5 CATEGORY="development" |
Hans-G?nter@21629 | 6 SHORT_DESC="Open-source C-Library for JPEG 2000 (ver. 2.x)." |
al@14429 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14657 | 8 LICENSE="BSD" |
Hans-G?nter@21629 | 9 WEB_SITE="https://www.openjpeg.org/" |
Hans-G?nter@25019 | 10 REPOLOGY="openjpeg" |
Hans-G?nter@21629 | 11 |
Hans-G?nter@21629 | 12 SOURCE="openjpeg" |
Hans-G?nter@21629 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21630 | 14 WGET_URL="https://github.com/uclouvain/$SOURCE/archive/v$VERSION.tar.gz" |
al@14429 | 15 |
al@14429 | 16 DEPENDS="glibc-base tiff zlib" |
al@14429 | 17 BUILD_DEPENDS="cmake tiff-dev" |
al@14429 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
al@14429 | 25 # Rules to configure and make the package. |
al@14429 | 26 compile_rules() |
al@14429 | 27 { |
Hans-G?nter@25019 | 28 mkdir _build && |
Hans-G?nter@25019 | 29 cd _build && |
Hans-G?nter@25019 | 30 cmake .. \ |
Hans-G?nter@25019 | 31 -D CMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@21629 | 32 make && |
Hans-G?nter@21629 | 33 make install |
al@14429 | 34 } |
al@14429 | 35 |
al@14429 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14429 | 37 genpkg_rules() |
al@14429 | 38 { |
Hans-G?nter@25019 | 39 cook_copy_folders bin |
Hans-G?nter@25019 | 40 cook_copy_files *.so* |
al@14429 | 41 } |