wok-next view openjpeg2/receipt @ rev 21540
updated cantarell-fonts (0.111 -> 0.201)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 16:26:44 2020 +0100 (2020-06-21) |
parents | 75632eca5b07 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openjpeg2"
4 VERSION="2.3.0"
5 CATEGORY="graphics"
6 SHORT_DESC="Open-source C-Library for JPEG 2000 (v. 2.x)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://www.openjpeg.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/openjpeg2.html"
11 REPOLOGY="openjpeg"
13 TARBALL="openjpeg-$VERSION.tar.gz"
14 WGET_URL="https://github.com/uclouvain/openjpeg/archive/v$VERSION.tar.gz"
16 BUILD_DEPENDS="cmake zlib-dev libpng-dev tiff-dev lcms2-dev"
17 SPLIT="$PACKAGE-tools $PACKAGE-dev"
19 compile_rules() {
20 mkdir build
21 cd build
22 cmake \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 .. &&
26 make &&
27 make install || return 1
29 cook_pick_manpages $src/doc/man/*/*
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 openjpeg2)
35 copy *.so*
36 ;;
37 openjpeg2-tools)
38 copy bin/
39 CAT="graphics|applications"
40 DEPENDS="openjpeg2 liblcms2 libpng libtiff"
41 ;;
42 *-dev)
43 copy @dev
44 ;;
45 esac
46 }