Files
haikuports/haiku-apps/fortuna/fortuna-1.0.0.recipe
2016-02-26 10:33:51 -05:00

47 lines
1.1 KiB
Bash

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."
HOMEPAGE="http://darkwyrm.beemulated.net/apps/fortuna.htm"
COPYRIGHT="2006 DarkWyrm"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="git://github.com/HaikuArchives/Fortuna.git#51052ccef4643aef97f8a76b311c1aca0dc935bf"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
fortuna = $portVersion
app:Fortuna = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:xres
"
BUILD()
{
rc src/Fortuna.rdef
g++ -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
cp Fortuna $appsDir
addAppDeskbarSymlink $appsDir/Fortuna
}