From cd8d411dcc409290ecd81b1bf6493f3324e6e141 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Wed, 27 Nov 2013 07:38:51 +0000 Subject: [PATCH] Added BAfx, recipe from GCI student tgkokk --- haiku-apps/bafx/bafx-0.0.1.recipe | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 haiku-apps/bafx/bafx-0.0.1.recipe diff --git a/haiku-apps/bafx/bafx-0.0.1.recipe b/haiku-apps/bafx/bafx-0.0.1.recipe new file mode 100644 index 000000000..b4d0ff8da --- /dev/null +++ b/haiku-apps/bafx/bafx-0.0.1.recipe @@ -0,0 +1,38 @@ +DESCRIPTION="BAfx is a file manager for Haiku." +SUMMARY="A file manager for Haiku." +HOMEPAGE="https://github.com/marbocub/BAfx" +SRC_URI="git+https://github.com/marbocub/BAfx" +COPYRIGHT="2012 @marbocub" +LICENSE="MIT" + +REVISION="1" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + bafx = $portVersion + app:bafx = $portVersion" + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + makefile_engine + cmd:gcc + cmd:make + cmd:mkdepend" + +BUILD() +{ + make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` +} + +INSTALL() +{ + architecture=$(echo $buildArchitecture | sed 's/_/-/g') + + cd objects.$architecture-release + + mkdir -p $appsDir/BAfx + cp -a BAfx $appsDir/BAfx + + addAppDeskbarSymlink $appsDir/BAfx/BAfx +}