wok-current view openjpeg2/receipt @ rev 24966
updated nettle and nettle-dev (3.5.1 -> 3.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 25 07:28:45 2022 +0100 (2022-04-25) |
parents | 4b9ad2d4ee30 |
children | f4bdbf65d59d |
line source
1 # SliTaz package receipt.
3 PACKAGE="openjpeg2"
4 VERSION="2.3.1"
5 CATEGORY="development"
6 SHORT_DESC="Open-source C-Library for JPEG 2000 (ver. 2.x)."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.openjpeg.org/"
11 SOURCE="openjpeg"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/uclouvain/$SOURCE/archive/v$VERSION.tar.gz"
15 DEPENDS="glibc-base tiff zlib"
16 BUILD_DEPENDS="cmake tiff-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cmake . \
28 -DCMAKE_INSTALL_PREFIX=/usr &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }