Move commands to BUILD_PREREQUIRES, remove useless folder (Fortuna)

This commit is contained in:
Puck Meerburg
2013-12-03 15:02:28 +01:00
parent 8e554bea72
commit 98697cf6b8

View File

@@ -28,12 +28,15 @@ REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
BUILD_PREREQUIRES="
cmd:gcc
cmd:xres
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD()
{
gcc -o Fortuna -lbe src/main.cpp src/FortuneWindow.cpp src/FortuneFunctions.cpp
@@ -43,7 +46,7 @@ BUILD()
INSTALL()
{
mkdir -p $appsDir/Fortuna
cp Fortuna $appsDir/Fortuna
addAppDeskbarSymlink $appsDir/Fortuna/Fortuna
mkdir -p $appsDir
cp Fortuna $appsDir
addAppDeskbarSymlink $appsDir/Fortuna
}