mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
54 lines
1.1 KiB
Bash
54 lines
1.1 KiB
Bash
SUMMARY="Color blenders for Allegro"
|
|
DESCRIPTION="FBlend is a series of super-fast color blenders for Allegro."
|
|
HOMEPAGE="https://sourceforge.net/projects/fblend/"
|
|
COPYRIGHT="2001-2002 Robert J Ohannessian"
|
|
LICENSE="BSD (3-clause)"
|
|
REVISION="3"
|
|
SOURCE_URI="https://downloads.sf.net/fblend/fblend-$portVersion.zip"
|
|
CHECKSUM_SHA256="8243fd6be592fc95d0669ff8ebf9ace4ec010ec65461e232cc36f2cf84b3bb13"
|
|
SOURCE_DIR="fblend"
|
|
|
|
ARCHITECTURES="!x86_gcc2 !x86 !x86_64"
|
|
SECONDARY_ARCHITECTURES="!x86"
|
|
|
|
PROVIDES="
|
|
fblend$secondaryArchSuffix = $portVersion
|
|
devel:libfblend$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:liballeg$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:liballeg$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:dos2unix
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
dos2unix *
|
|
dos2unix src/*
|
|
dos2unix src/x86/*
|
|
dos2unix lib/*
|
|
dos2unix lib/unix/*
|
|
dos2unix include/*
|
|
dos2unix make/*
|
|
sh fix.sh unix
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $developDir/lib
|
|
mkdir -p $includeDir
|
|
|
|
cp -a lib/unix/libfblend.a $developDir/lib
|
|
cp -R include/fblend.h $includeDir
|
|
}
|