wok-next view openjpeg2/receipt @ rev 21127
Update xarchiver (0.5.4.14), xcursorgen (1.0.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 18 11:29:09 2019 +0200 (2019-01-18) |
parents | 5669e8b3be70 |
children | 29128929e4f9 |
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 lcms2 libpng libtiff"
41 ;;
42 *-dev)
43 copy @dev
44 ;;
45 esac
46 }