mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
61 lines
1.4 KiB
Bash
61 lines
1.4 KiB
Bash
SUMMARY="Open Source library project"
|
|
DESCRIPTION="FreeImage is an Open Source library project for developers \
|
|
who would like to support popular graphics image formats like PNG, BMP, \
|
|
JPEG, TIFF and others as needed by today's multimedia applications"
|
|
HOMEPAGE="http://freeimage.sourceforge.net"
|
|
COPYRIGHT="2003-2010 FreeImage Project"
|
|
LICENSE="GNU GPL v2
|
|
GNU GPL v3"
|
|
SOURCE_URI="http://downloads.sourceforge.net/freeimage/FreeImage3170.zip"
|
|
REVISION="1"
|
|
CHECKSUM_SHA256="fbfc65e39b3d4e2cb108c4ffa8c41fd02c07d4d436c594fff8dab1a6d5297f89"
|
|
PATCHES="freeimage-$portVersion.patchset"
|
|
SOURCE_DIR="FreeImage"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
freeimage$secondaryArchSuffix = $portVersion
|
|
lib:libfreeimage$secondaryArchSuffix
|
|
lib:libfreeimage_3.17.0$secondaryArchSuffix = $portVersion compat >= 3
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
freeimage${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libfreeimage$secondaryArchSuffix = $portVersion compat >= 3
|
|
"
|
|
REQUIRES_devel="
|
|
freeimage$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make -f Makefile.gnu \
|
|
INCDIR=$includeDir \
|
|
INSTALLDIR=$libDir
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -f Makefile.gnu install \
|
|
INCDIR=$includeDir \
|
|
INSTALLDIR=$libDir
|
|
|
|
prepareInstalledDevelLib libfreeimage
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|