wok-next view openjpeg2/receipt @ rev 20884
Check Repology info from m* to python-babel
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 12 18:34:58 2018 +0300 (2018-07-12) |
parents | b863487b8e7a |
children | f48456621a9d |
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"
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 libpng16-dev tiff-dev lcms2-dev"
17 SPLIT="openjpeg2-tools openjpeg2-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 lcms2 libpng16 tiff"
41 ;;
42 *-dev)
43 copy @dev
44 ;;
45 esac
46 }