wok-next view jasper/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
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 }