wok-next annotate jasper/receipt @ rev 21080
Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 24 02:07:02 2018 +0200 (2018-12-24) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
al@19753 | 1 # SliTaz package receipt v2. |
jozee@3038 | 2 |
jozee@3038 | 3 PACKAGE="jasper" |
al@20679 | 4 VERSION="2.0.14" |
jozee@3038 | 5 CATEGORY="graphics" |
al@19693 | 6 SHORT_DESC="Implementation of JPEG-2000 codec" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15601 | 8 LICENSE="MIT" |
al@19753 | 9 WEB_SITE="http://www.ece.uvic.ca/~frodo/jasper/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/jasper.html" |
jozee@3038 | 11 |
al@19753 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20679 | 13 WGET_URL="http://www.ece.uvic.ca/~frodo/jasper/software/$TARBALL" |
al@19693 | 14 |
al@19753 | 15 BUILD_DEPENDS="cmake libjpeg-turbo-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
jozee@3038 | 17 |
al@20679 | 18 compile_rules() { |
al@20679 | 19 mkdir build |
al@20679 | 20 cd build |
al@20679 | 21 cmake \ |
al@20679 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20679 | 23 -DCMAKE_BUILD_TYPE=Release \ |
al@20679 | 24 -DCMAKE_SKIP_INSTALL_RPATH=YES \ |
al@20679 | 25 -DJAS_ENABLE_DOC=NO \ |
al@20679 | 26 -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/jasper-$VERSION \ |
al@20679 | 27 .. && |
al@20679 | 28 make && |
al@19753 | 29 make install |
jozee@3038 | 30 } |
jozee@3038 | 31 |
al@20679 | 32 genpkg_rules() { |
al@19753 | 33 case $PACKAGE in |
al@19753 | 34 jasper) |
al@19753 | 35 copy @std |
al@19753 | 36 DEPENDS="libjpeg-turbo" |
al@19753 | 37 TAGS="jpeg jpg photo" |
al@19753 | 38 ;; |
al@19753 | 39 *-dev) copy @dev;; |
al@19753 | 40 esac |
jozee@3038 | 41 } |