wok-next view libpano13/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libpano13"
4 VERSION="2.9.19"
5 CATEGORY="development"
6 SHORT_DESC="Panorama tools library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://panotools.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/panotools/$TARBALL"
14 BUILD_DEPENDS="zlib-dev libpng-dev libjpeg-turbo-dev tiff-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 # to fix: undefined reference to `float2rgbe'; undefined reference to `rgbe2float'
19 sed -i 's|^INLINE ||' rgbe.h rgbe.c
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libpano13)
30 copy @std
31 DEPENDS="libjpeg-turbo libpng libtiff"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }