0
0
Fork 0
haikuports/haiku-apps/fortuna/fortuna-1.0.0.recipe

50 lines
1.2 KiB
Bash
Raw Permalink Normal View History

2013-12-02 22:18:26 +00:00
SUMMARY="A small GUI for showing the well known fortunes"
DESCRIPTION="
2014-01-02 21:40:57 +00:00
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 \
2016-02-26 15:33:51 +00:00
messing around. Then again, you can use Fortuna, which has none of this."
2013-12-02 22:18:26 +00:00
HOMEPAGE="http://darkwyrm.beemulated.net/apps/fortuna.htm"
COPYRIGHT="2006 DarkWyrm"
2016-02-17 19:26:37 +00:00
LICENSE="MIT"
REVISION="3"
srcGitRev="51052ccef4643aef97f8a76b311c1aca0dc935bf"
SOURCE_URI="https://github.com/HaikuArchives/Fortuna/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="1ec5b26eb867e9c2a8ab32ac2158ae3ccbc57aa74feb4b73d6aa21c3007cbcaf"
SOURCE_DIR="Fortuna-$srcGitRev"
2013-12-02 22:18:26 +00:00
ARCHITECTURES="all"
2013-12-02 22:18:26 +00:00
PROVIDES="
fortuna = $portVersion
2014-10-28 21:25:03 +00:00
app:Fortuna = $portVersion
2013-12-02 22:18:26 +00:00
"
REQUIRES="
haiku
2013-12-02 22:18:26 +00:00
"
2016-02-17 19:26:37 +00:00
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
2013-12-02 22:18:26 +00:00
cmd:gcc
cmd:xres
"
BUILD()
{
rc src/Fortuna.rdef
g++ -o Fortuna -lbe src/main.cpp src/FortuneWindow.cpp src/FortuneFunctions.cpp
2013-12-02 22:18:26 +00:00
xres -o Fortuna src/Fortuna.rsrc
mimeset -f Fortuna
}
INSTALL()
{
mkdir -p $appsDir
cp Fortuna $appsDir
addAppDeskbarSymlink $appsDir/Fortuna
2013-12-02 22:18:26 +00:00
}