tiff: renamed the 4.0 recipe to tiff4

* bump version
* the tiff4_devel package now conflicts with tiff_devel
This commit is contained in:
Jerome Duval
2014-11-29 22:35:13 +00:00
parent 61139505cf
commit 914fb86ab6
2 changed files with 19 additions and 18 deletions

View File

@@ -5,19 +5,19 @@ data. Included in this software is a library, libtiff, for reading and writing \
TIFF. TIFF.
" "
HOMEPAGE="http://www.libtiff.org" HOMEPAGE="http://www.libtiff.org"
SRC_URI="ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.2.tar.gz" SRC_URI="ftp://ftp.remotesensing.org/pub/libtiff/tiff-$portVersion.tar.gz"
CHECKSUM_SHA256="aa29f1f5bfe3f443c3eb4dac472ebde15adc8ff0464b83376f35e3b2fef935da" CHECKSUM_SHA256="ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872"
LICENSE="MIT" LICENSE="MIT"
COPYRIGHT="1988-1997 Sam Leffler COPYRIGHT="1988-1997 Sam Leffler
1991-1997 Silicon Graphics, Inc." 1991-1997 Silicon Graphics, Inc."
REVISION="5" REVISION="1"
ARCHITECTURES="x86_gcc2 x86 ?x86_64" ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86" SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES=" PROVIDES="
tiff$secondaryArchSuffix = $portVersion compat >= 4 tiff4$secondaryArchSuffix = $portVersion compat >= 4
lib:libtiff$secondaryArchSuffix = 5.1.0 compat >= 5 lib:libtiff$secondaryArchSuffix = 5.2.0 compat >= 5
lib:libtiffxx$secondaryArchSuffix = 5.1.0 compat >= 5 lib:libtiffxx$secondaryArchSuffix = 5.2.0 compat >= 5
" "
REQUIRES=" REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion haiku$secondaryArchSuffix >= $haikuVersion
@@ -42,7 +42,7 @@ BUILD_PREREQUIRES="
cmd:make cmd:make
" "
PATCHES=" PATCHES="
tiff-4.0.2.patch tiff-4.0.3.patch
" "
PATCH() PATCH()
@@ -53,13 +53,11 @@ PATCH()
fi fi
} }
SOURCE_DIR="tiff-$portVersion"
BUILD() BUILD()
{ {
aclocal autoreconf -fi
libtoolize --force --copy --install
automake --add-missing
autoconf
autoheader
runConfigure ./configure --with-docdir=$documentationDir/$portName runConfigure ./configure --with-docdir=$documentationDir/$portName
# --enable-shared # --enable-shared
make $jobArgs make $jobArgs
@@ -93,12 +91,15 @@ INSTALL()
# ----- devel package ------------------------------------------------------- # ----- devel package -------------------------------------------------------
PROVIDES_devel=" PROVIDES_devel="
tiff${secondaryArchSuffix}_devel = $portVersion compat >= 4 tiff4${secondaryArchSuffix}_devel = $portVersion compat >= 4
devel:libtiff$secondaryArchSuffix = 5.1.0 compat >= 5 devel:libtiff$secondaryArchSuffix = 5.2.0 compat >= 5
devel:libtiffxx$secondaryArchSuffix = 5.1.0 compat >= 5 devel:libtiffxx$secondaryArchSuffix = 5.2.0 compat >= 5
" "
REQUIRES_devel=" REQUIRES_devel="
tiff$secondaryArchSuffix == $portVersion base tiff4$secondaryArchSuffix == $portVersion base
"
CONFLICTS_devel="
tiff${secondaryArchSuffix}_devel
" "
# ----- tools package ------------------------------------------------------- # ----- tools package -------------------------------------------------------
@@ -133,7 +134,7 @@ if [ -z "$secondaryArchSuffix" ]; then
" "
REQUIRES_tools=" REQUIRES_tools="
haiku >= $haikuVersion haiku >= $haikuVersion
tiff == $portVersion base tiff4 == $portVersion base
lib:libjpeg lib:libjpeg
lib:libz lib:libz
" "