wok-next view openjpeg2/receipt @ rev 20582
Up libjson-c (0.13.1-20180305)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 10:00:23 2018 +0300 (2018-04-14) |
parents | ad59999b3fce |
children | b863487b8e7a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openjpeg2"
4 VERSION="2.1.2"
5 CATEGORY="graphics"
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="http://www.openjpeg.org/"
11 TARBALL="openjpeg-$VERSION.tar.gz"
12 WGET_URL="https://github.com/uclouvain/openjpeg/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake zlib-dev libpng16-dev tiff-dev lcms2-dev"
15 SPLIT="openjpeg2-tools openjpeg2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build &&
21 cd build &&
22 cmake \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DCMAKE_INSTALL_PREFIX=/usr .. &&
25 make && make install &&
27 cook_pick_manpages $src/doc/man/*/*
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 openjpeg2)
35 copy *.so*
36 ;;
37 *-tools)
38 copy bin/
39 CAT="graphics|applications"
40 DEPENDS="openjpeg2 lcms2 libpng16 tiff zlib"
41 ;;
42 *-dev)
43 copy @dev
44 ;;
45 esac
46 }