mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
fblend 0.4 recipe, working (#764)
This commit is contained in:
committed by
waddlesplash
parent
be15917934
commit
b41dcf9b71
@@ -1,31 +1,53 @@
|
||||
SUMMARY="Color blenders for Allegro"
|
||||
DESCRIPTION="FBlend is a series of super-fast color blenders for Allegro."
|
||||
HOMEPAGE="http://sourceforge.net/projects/fblend/"
|
||||
SOURCE_URI="http://sourceforge.net/projects/fblend/files/FBlend%20beta/fblend-0.5-beta01/fblend-0.5-beta01.zip/download"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="broken"
|
||||
DEPEND="media-libs/allegro >= 4.4
|
||||
app-text/dos2unix >= 1.0"
|
||||
CHECKSUM_MD5="e252ae521e099793fe6caa0fb7d048f3"
|
||||
HOMEPAGE="https://sourceforge.net/projects/fblend/"
|
||||
COPYRIGHT="2001-2002 Robert J Ohannessian"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="2"
|
||||
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:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd fblend
|
||||
dos2unix *
|
||||
dos2unix src/*
|
||||
dos2unix src/misc/*
|
||||
dos2unix src/x86/*
|
||||
dos2unix lib/*
|
||||
dos2unix lib/unix/*
|
||||
dos2unix include/*
|
||||
dos2unix make/*
|
||||
sh fix.sh unix
|
||||
make
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd fblend
|
||||
make install INSTALL_DIR=/boot/common
|
||||
}
|
||||
mkdir -p $developDir/lib
|
||||
mkdir -p $includeDir
|
||||
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="2001-2002 Robert J Ohannessian"
|
||||
cp -a lib/unix/libfblend.a $developDir/lib
|
||||
cp -R include/fblend.h $includeDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user