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 +}