wok-next view jasper/receipt @ rev 20690
add missing SHA256sums
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Mon May 21 19:36:47 2018 +0000 (2018-05-21) |
parents | c4e53a39395a |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="jasper"
4 VERSION="2.0.14"
5 CATEGORY="graphics"
6 SHORT_DESC="Implementation of JPEG-2000 codec"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.ece.uvic.ca/~frodo/jasper/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/jasper.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://www.ece.uvic.ca/~frodo/jasper/software/$TARBALL"
15 BUILD_DEPENDS="cmake libjpeg-turbo-dev"
16 SPLIT="jasper-dev"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DCMAKE_SKIP_INSTALL_RPATH=YES \
25 -DJAS_ENABLE_DOC=NO \
26 -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/jasper-$VERSION \
27 .. &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 jasper)
35 copy @std
36 DEPENDS="libjpeg-turbo"
37 TAGS="jpeg jpg photo"
38 ;;
39 *-dev) copy @dev;;
40 esac
41 }