mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
61 lines
1.2 KiB
Bash
61 lines
1.2 KiB
Bash
SUMMARY="FlashPIX open source toolkit"
|
|
DESCRIPTION="The FlashPIX open source toolkit has library routines which handles FlashPIX images \
|
|
and is based on source code obtained from the Digital Imaging Group Inc. (currently known as International \
|
|
Imaging Industry Association or i3a)."
|
|
HOMEPAGE="http://www.i3a.org"
|
|
COPYRIGHT="1999 Digital Imaging Group, Inc."
|
|
LICENSE="Flashpix"
|
|
REVISION="1"
|
|
libfpxVersion="${portVersion%.*}-${portVersion##*.}"
|
|
SOURCE_URI="http://www.imagemagick.org/download/delegates/libfpx-$libfpxVersion.tar.xz"
|
|
CHECKSUM_SHA256="491b55535580d27355669c45fe995446bd34df5dbcdc15312e58c3ebecc6a455"
|
|
SOURCE_DIR="libfpx-$libfpxVersion"
|
|
|
|
ARCHITECTURES="x86_gcc2 ?x86 x86_64 ?arm"
|
|
|
|
PROVIDES="
|
|
libfpx = $portVersion
|
|
lib:libfpx = 1.0.31 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libfpx$_devel = $portVersion
|
|
devel:libfpx = 1.0.31 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
libfpx == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:g++
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure --disable-dependency-tracking CPPFLAGS=-D__linux__
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLib libfpx
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make test
|
|
}
|