Initial recipe to build Backup, recipe by GCI2013 student tgkokk

This commit is contained in:
Scott McCreary
2013-11-19 16:31:07 -08:00
parent c86b966af1
commit e178738cc9
2 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
DESCRIPTION="backup - A backup application for Haiku"
SUMMARY="A backup application for Haiku"
HOMEPAGE="https://github.com/kallisti5/backup"
SRC_URI="git+https://github.com/kallisti5/backup"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
backup = $portVersion
app:backup = $portVersion
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
makefile_engine
cmd:gcc
cmd:make
cmd:mkdepend"
PATCHES="backup-0.0.1.patch"
COPYRIGHT="2013 Alexander von Gluck IV"
LICENSE="MIT"
BUILD()
{
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
architecture=$(echo $buildArchitecture | sed 's/_/-/g')
mkdir -p $appsDir
cp objects.$architecture-release/backup $appsDir/Backup
addAppDeskbarSymlink $appsDir/Backup
}