wok-current view openjpeg2/receipt @ rev 23306

updated perl-curses (1.24 -> 1.36)
author Hans-G?nter Theisgen
date Sun Mar 29 17:39:10 2020 +0100 (2020-03-29)
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 }