wok-next view jasper/receipt @ rev 19986

softgun, lighttpd: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 19 19:25:50 2017 +0200 (2017-10-19)
parents 4048d48a47c1
children c4e53a39395a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="jasper"
4 VERSION="2.0.12"
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 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}software/$TARBALL"
15 BUILD_DEPENDS="cmake libjpeg-turbo-dev"
16 SPLIT="jasper-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir -p build
22 cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr
23 cd build
24 make clean all &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 jasper)
33 copy @std
34 DEPENDS="libjpeg-turbo"
35 TAGS="jpeg jpg photo"
36 ;;
37 *-dev) copy @dev;;
38 esac
39 }