Merged in noryb009/haikuports/recibe (pull request #87)

Add Recibe recipe
This commit is contained in:
Scott McCreary
2013-12-27 20:30:25 -08:00

View File

@@ -0,0 +1,52 @@
SUMMARY="A cooking recipe manager"
DESCRIPTION="
Recibe, written by DarkWyrm, is a cooking recipe manager. The
database, which needs to be downloaded separately, includes
around 52,000 different recipes for you to try.
If you download the recipe database, place it inside your settings
directory, which is likely `/boot/home/config/settings/' .
"
HOMEPAGE="https://github.com/HaikuArchives/Recibe"
SRC_URI="git://github.com/HaikuArchives/Recibe.git#c1d5a57264d8964a2592bc9b43588b3430bd48ad"
LICENSE="MIT"
COPYRIGHT="2007 DarkWyrm"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
recibe = $portVersion
app:recibe = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
lib:libsqlite3
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
devel:libsqlite3
"
BUILD_PREREQUIRES="
cmd:gcc
makefile_engine
cmd:make
cmd:mkdepend
cmd:xres
"
BUILD()
{
cd sources
make OBJ_DIR=objects \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
mkdir -p $appsDir
cp sources/objects/Recibe $appsDir
addAppDeskbarSymlink $appsDir/Recibe
}