wok-next view tiff/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 d5aab818505e
children 7c5d038be95b
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tiff"
4 VERSION="4.0.10"
5 CATEGORY="graphics"
6 SHORT_DESC="Tag Image File Format"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.libtiff.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libtiff.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://download.osgeo.org/libtiff/$TARBALL"
15 BUILD_DEPENDS="cmake ninja zlib-dev libjpeg-turbo-dev xz-dev"
16 SPLIT="lib$PACKAGE $PACKAGE $PACKAGE-dev"
18 DEPENDS_libtiff="libjpeg-turbo liblzma zlib"
19 DEPENDS_std="libtiff"
21 compile_rules() {
22 mkdir -p libtiff-build
23 cd libtiff-build
25 cmake \
26 -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/libtiff-$VERSION \
27 -DCMAKE_INSTALL_PREFIX=/usr \
28 -G Ninja \
29 .. &&
30 ninja &&
31 ninja install
32 }