wok-next view jasper/receipt @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | 7042ae74166a |
children | 1ca369c9f448 |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}software/$TARBALL"
14 BUILD_DEPENDS="cmake libjpeg-turbo-dev"
15 SPLIT="jasper-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p build
21 cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr
22 cd build
23 make clean all &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 jasper)
32 copy @std
33 DEPENDS="libjpeg-turbo"
34 TAGS="jpeg jpg photo"
35 ;;
36 *-dev) copy @dev;;
37 esac
38 }