Add InterfaceElements and BeSol.

fixes #53.
This commit is contained in:
Adrien Destugues
2016-02-14 13:00:11 +01:00
parent 49bc3abea9
commit e203ab75f6
3 changed files with 138 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
SUMMARY="Easily create and play games of solitaire"
DESCRIPTION="Solitaire program that loads, saves, edits, and of course runs \
solitaire games."
HOMEPAGE="http://github.com/HaikuArchives/BeSol"
SOURCE_URI="git://github.com/HaikuArchives/BeSol"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="1999 Jason Wrinkle"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
besol$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libie
"
BUILD_REQUIRES="
devel:libie
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:find
cmd:make
cmd:gcc$secondaryArchSuffix
"
SOURCE_DIR="BeSol-master"
PATCHES="BeSol.patch"
BUILD()
{
find . -name *.cpp -exec g++ -c {} \;
find . -name *.c++ -exec g++ -c {} \;
g++ -o BeSol *.o -lbe -ltranslation -lie -ltracker
}
INSTALL()
{
mkdir -p $appsDir
cp BeSol $appsDir
}