wok-current view openjpeg2/receipt @ rev 24052

Up slitaz-boot-scripts (469)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 26 19:58:37 2021 +0000 (2021-05-26)
parents d8351e891a67
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cmake . \
22 -DCMAKE_INSTALL_PREFIX=/usr &&
23 make &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }