0
0
Fork 0
haikuports/haiku-games/besol/besol-2.0.5.recipe

47 lines
929 B
Bash

SUMMARY="Easily create and play games of solitaire"
DESCRIPTION="Solitaire program that loads, saves, edits, and of course runs \
solitaire games."
HOMEPAGE="https://github.com/HaikuArchives/BeSol/"
COPYRIGHT="1999 Jason Wrinkle"
LICENSE="GNU GPL v2"
REVISION="5"
srcGitRev="2ac61dc65cb66ae9274d22f08c108ef845f9d76c"
SOURCE_URI="https://github.com/HaikuArchives/BeSol/archive/$srcGitRev.zip"
CHECKSUM_SHA256="245c6c685e48a553401a5461bd3809819c5745d0a2fd86e5833ffccab5ae313b"
SOURCE_DIR="BeSol-$srcGitRev"
ARCHITECTURES="?all"
PROVIDES="
besol = $portVersion
"
REQUIRES="
haiku
lib:libie
"
BUILD_REQUIRES="
haiku_devel
devel:libie
"
BUILD_PREREQUIRES="
cmd:find
cmd:gcc
cmd:make
"
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
addAppDeskbarSymlink $appsDir/BeSol
}