wok-current view openjpeg2/receipt @ rev 22948

updated imlib2 and imlib2-dev again (1.5.1 -> 1.6.1)
author Hans-G?nter Theisgen
date Fri Feb 28 14:13:06 2020 +0100 (2020-02-28)
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 }