mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
60 lines
1.2 KiB
Bash
60 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"
|
|
SOURCE_URI="http://www.imagemagick.org/download/delegates/libfpx-${portVersion%.*}-${portVersion##*.}.tar.xz"
|
|
CHECKSUM_SHA256="491b55535580d27355669c45fe995446bd34df5dbcdc15312e58c3ebecc6a455"
|
|
SOURCE_DIR="libfpx-${portVersion%.*}-${portVersion##*.}"
|
|
|
|
ARCHITECTURES="all ?x86 ?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
|
|
}
|