wok-next view jasper/receipt @ rev 21316

updated jabberd2 (2.2.16 -> 2.7.0)
author Hans-G?nter Theisgen
date Tue Dec 10 17:15:57 2019 +0100 (2019-12-10)
parents f48456621a9d
children
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="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.ece.uvic.ca/~frodo/jasper/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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="$PACKAGE-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 }