wok-next annotate libpano13/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 8b5b2a6d07b8
children 5669e8b3be70
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@20969 14 BUILD_DEPENDS="zlib-dev libpng16-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@20969 31 DEPENDS="libjpeg-turbo libpng16 tiff"
al@20464 32 ;;
al@20464 33 *-dev)
al@20557 34 copy @dev
al@20464 35 ;;
al@20464 36 esac
pascal@14594 37 }