wok-next annotate libpano13/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 5669e8b3be70
children
rev   line source
al@20464 1 # SliTaz package receipt v2.
pascal@14594 2
pascal@14594 3 PACKAGE="libpano13"
al@20969 4 VERSION="2.9.19"
pascal@14594 5 CATEGORY="development"
al@20464 6 SHORT_DESC="Panorama tools library"
pascal@14594 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14716 8 LICENSE="GPL2"
al@20464 9 WEB_SITE="http://panotools.sourceforge.net/"
al@20464 10
pascal@14594 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14594 12 WGET_URL="$SF_MIRROR/panotools/$TARBALL"
pascal@14594 13
al@21078 14 BUILD_DEPENDS="zlib-dev libpng-dev libjpeg-turbo-dev tiff-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
pascal@14594 16
al@20464 17 compile_rules() {
al@20969 18 # to fix: undefined reference to `float2rgbe'; undefined reference to `rgbe2float'
al@20969 19 sed -i 's|^INLINE ||' rgbe.h rgbe.c
al@20969 20
al@20557 21 ./configure $CONFIGURE_ARGS &&
al@20595 22 fix libtool &&
pascal@14594 23 make &&
al@20969 24 make install
pascal@14594 25 }
pascal@14594 26
al@20464 27 genpkg_rules() {
al@20464 28 case $PACKAGE in
al@20464 29 libpano13)
al@20557 30 copy @std
al@21080 31 DEPENDS="libjpeg-turbo libpng libtiff"
al@20464 32 ;;
al@20464 33 *-dev)
al@20557 34 copy @dev
al@20464 35 ;;
al@20464 36 esac
pascal@14594 37 }