mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
tiff: renamed the 4.0 recipe to tiff4
* bump version * the tiff4_devel package now conflicts with tiff_devel
This commit is contained in:
@@ -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
|
||||||
"
|
"
|
||||||
Reference in New Issue
Block a user