mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Add recipe for Fortuna
This commit is contained in:
49
haiku-apps/fortuna/fortuna-1.0.0.recipe
Normal file
49
haiku-apps/fortuna/fortuna-1.0.0.recipe
Normal file
@@ -0,0 +1,49 @@
|
||||
SUMMARY="A small GUI for showing the well known fortunes"
|
||||
|
||||
DESCRIPTION="
|
||||
Fortuna is a nice-looking graphical program which displays a fortune when you open it.
|
||||
Yeah, sure, there is already a fortune program, but it only shows from the command line,
|
||||
you'll get a lot of repeats, it's quite a bit of work to install more,
|
||||
and you have to muck around with your UserBootScript. Lots of messing around.
|
||||
Then again, you can use Fortuna, which has none of this.
|
||||
" # Taken from homepage
|
||||
|
||||
HOMEPAGE="http://darkwyrm.beemulated.net/apps/fortuna.htm"
|
||||
SRC_URI="git://github.com/HaikuArchives/Fortuna.git#eacb3689800064b948d3b943302b2d4bf18c9dbc"
|
||||
REVISION="1"
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2006 DarkWyrm"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
PATCHES="fortuna-1.0.0.patch"
|
||||
|
||||
PROVIDES="
|
||||
fortuna = $portVersion
|
||||
app:fortuna = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:xres
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
gcc -o Fortuna -lbe src/main.cpp src/FortuneWindow.cpp src/FortuneFunctions.cpp
|
||||
xres -o Fortuna src/Fortuna.rsrc
|
||||
mimeset -f Fortuna
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/Fortuna
|
||||
cp Fortuna $appsDir/Fortuna
|
||||
addAppDeskbarSymlink $appsDir/Fortuna/Fortuna
|
||||
}
|
||||
Reference in New Issue
Block a user