wok-next view tiff/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 1a86cb99cbbf |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tiff"
4 VERSION="4.0.7"
5 CATEGORY="graphics"
6 SHORT_DESC="TIFF images"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.libtiff.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://download.osgeo.org/libtiff/$TARBALL"
15 BUILD_DEPENDS="libjpeg-turbo-dev zlib-dev"
16 SPLIT="tiff-apps tiff-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 tiff)
32 copy *.so*
33 CAT="graphics|libraries"
34 DEPENDS="jpeg-turbo zlib"
35 ;;
36 tiff-apps)
37 copy bin/
38 CAT="graphics|CLI applications"
39 DEPENDS="libjpeg-turbo zlib tiff"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="tiff tiff-apps libjpeg-turbo-dev zlib-dev"
44 ;;
45 esac
46 }