mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
tiff4, re-enable base package for blender(2) (#11630)
This commit is contained in:
69
media-libs/tiff/tiff4.4-4.4.0.recipe
Normal file
69
media-libs/tiff/tiff4.4-4.4.0.recipe
Normal file
@@ -0,0 +1,69 @@
|
||||
SUMMARY="A library to read/write TIFF images"
|
||||
DESCRIPTION="TIFF the Tag Image File Format, is a widely used format for \
|
||||
storing image data. Included in this software is a library, libtiff, for \
|
||||
reading and writing TIFF and a small collection of tools for doing simple \
|
||||
manipulations of TIFF images."
|
||||
HOMEPAGE="http://www.libtiff.org/"
|
||||
COPYRIGHT="1988-1997 Sam Leffler
|
||||
1991-1997 Silicon Graphics, Inc."
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://download.osgeo.org/libtiff/tiff-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="917223b37538959aca3b790d2d73aa6e626b688e02dcda272aec24c2f498abed"
|
||||
SOURCE_DIR="tiff-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="5.8.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
portVersionCompat="$portVersion compat >= ${portVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
tiff4.4$secondaryArchSuffix = $portVersionCompat
|
||||
lib:libtiff$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libtiffxx$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure \
|
||||
--with-docdir=$documentationDir/$portName \
|
||||
--disable-static
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libtiff \
|
||||
libtiffxx
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
rm -rf $developDir $binDir $documentationDir
|
||||
}
|
||||
Reference in New Issue
Block a user