mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 03:58:51 +02:00
Merged in AdrianArroyoCalle/haikuports-mapnik (pull request #436)
Add Entropia Engine++
This commit is contained in:
87
games-engines/eepp/eepp-hg.recipe
Normal file
87
games-engines/eepp/eepp-hg.recipe
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
SUMMARY="A C++ 2D game engine designed for an easy cross-platform game development"
|
||||||
|
DESCRIPTION="
|
||||||
|
Entropia Engine++ is a C++ 2D game engine designed for an easy \
|
||||||
|
cross-platform game development.
|
||||||
|
"
|
||||||
|
HOMEPAGE="http://bitbucket.org/SpartanJ/eepp"
|
||||||
|
SRC_URI="hg+http://bitbucket.org/SpartanJ/eepp#7318464094366388344fe30e58f521c6b46781b6"
|
||||||
|
REVISION="1"
|
||||||
|
LICENSE="MIT"
|
||||||
|
COPYRIGHT="2011-2014 Martín Lucas Golini"
|
||||||
|
|
||||||
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
eepp$secondaryArchSuffix = $portVersion
|
||||||
|
lib:libeepp$secondaryArchSuffix = $portVersion
|
||||||
|
lib:libeepp_debug$secondaryArchSuffix = $portVersion
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
lib:libsdl2$secondaryArchSuffix
|
||||||
|
lib:libopenal$secondaryArchSuffix
|
||||||
|
lib:libgl$secondaryArchSuffix
|
||||||
|
lib:libgcc_s$secondaryArchSuffix
|
||||||
|
lib:libstdc++$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
devel:libsdl2$secondaryArchSuffix
|
||||||
|
devel:libopenal$secondaryArchSuffix
|
||||||
|
devel:libgl$secondaryArchSuffix
|
||||||
|
lib:libgcc_s$secondaryArchSuffix
|
||||||
|
lib:libstdc++$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
cmd:ld$secondaryArchSuffix
|
||||||
|
cmd:premake4$secondaryArchSuffix
|
||||||
|
cmd:make
|
||||||
|
cmd:hg
|
||||||
|
"
|
||||||
|
|
||||||
|
SOURCE_DIR=""
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
cd src/eepp/helper
|
||||||
|
rm -rf SOIL2
|
||||||
|
hg clone http://bitbucket.org/SpartanJ/soil2 SOIL2 -r 5ebbd585ec79022bf94db977c0e56eae374e7156
|
||||||
|
sed -i '/targetname "soil2"/a \
|
||||||
|
\
|
||||||
|
configuration "haiku" \
|
||||||
|
buildoptions{ "-march=native" }' SOIL2/premake4.lua
|
||||||
|
cd ../../..
|
||||||
|
premake4 gmake --os=haiku
|
||||||
|
cd make/haiku
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
mkdir -p $includeDir
|
||||||
|
mkdir -p $developLibDir
|
||||||
|
mkdir -p $libDir
|
||||||
|
cp -r include/* $includeDir/
|
||||||
|
cp libs/haiku/lib*.a $developLibDir/
|
||||||
|
cp libs/haiku/lib*.so $libDir/
|
||||||
|
|
||||||
|
prepareInstalledDevelLibs libeepp-debug
|
||||||
|
packageEntries devel $developDir
|
||||||
|
}
|
||||||
|
|
||||||
|
PROVIDES_devel="
|
||||||
|
eepp${secondaryArchSuffix}_devel = $portVersion
|
||||||
|
devel:libeepp$secondaryArchSuffix = $portVersion
|
||||||
|
devel:libeepp_debug$secondaryArchSuffix = $portVersion
|
||||||
|
devel:libeepp_main$secondaryArchSuffix = $portVersion
|
||||||
|
devel:libeepp_static_debug$secondaryArchSuffix = $portVersion
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRES_devel="
|
||||||
|
eepp$secondaryArchSuffix == $portVersion
|
||||||
|
"
|
||||||
Reference in New Issue
Block a user