wok-next view openjpeg2/receipt @ rev 20872
perl-texi2html -> texi2html (because it don't contain Perl modules, and not exists on the (meta)cpan, and old, and...); gcompris: up (11.12 -> 17.05)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 04 02:05:23 2018 +0300 (2018-07-04) |
parents | 9b83ae3e9ce7 |
children | 4e6503d7a19f |
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/stable/general/openjpeg2.html"
12 TARBALL="openjpeg-$VERSION.tar.gz"
13 WGET_URL="https://github.com/uclouvain/openjpeg/archive/v$VERSION.tar.gz"
15 BUILD_DEPENDS="cmake zlib-dev libpng16-dev tiff-dev lcms2-dev"
16 SPLIT="openjpeg2-tools openjpeg2-dev"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 .. &&
25 make &&
26 make install || return 1
28 cook_pick_manpages $src/doc/man/*/*
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 openjpeg2)
34 copy *.so*
35 ;;
36 openjpeg2-tools)
37 copy bin/
38 CAT="graphics|applications"
39 DEPENDS="openjpeg2 lcms2 libpng16 tiff"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }