diff --git a/haiku-apps/genio/genio-1.0.0~beta.recipe b/haiku-apps/genio/genio-1.0.0~beta.recipe new file mode 100644 index 000000000..d425bbbcd --- /dev/null +++ b/haiku-apps/genio/genio-1.0.0~beta.recipe @@ -0,0 +1,55 @@ +SUMMARY="The Haiku IDE" +DESCRIPTION="Genio is an IDE for the Haiku operating system. \ +It has a rich editor supporting syntax highlight, auto completion and other advanced features. \ +It contains a set of templates to quickly develop and build your projects." +HOMEPAGE="https://github.com/Genio-The-Haiku-IDE/Genio/releases" +COPYRIGHT="2022-2023 The Genio Team" +LICENSE="BSD (3-clause) + MIT" +REVISION="1" +srcGitRev="0655bca6b6851e746db160f949b831955580b337" +SOURCE_URI="https://github.com/Genio-The-Haiku-IDE/Genio/archive/v1.tar.gz" +CHECKSUM_SHA256="7ae9a8affd59869741b7a891384fc733ce78fd404ba2e433708a68a473d11358" +SOURCE_FILENAME="Genio-v1.tar.gz" +SOURCE_DIR="Genio-1" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + genio${secondaryArchSuffix} = $portVersion + app:Genio = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:gcc${secondaryArchSuffix} + cmd:make + " + +BUILD() +{ + make OBJ_DIR=objects \ + BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` \ + $jobArgs +} + +INSTALL() +{ + install -m 0755 -d "$appsDir/Genio" + install -m 0755 -t "$appsDir/Genio/" app/Genio + install -m 0755 -d "$appsDir/Genio/data" + + cp -a data/templates "$appsDir/Genio/data" + + install -m 0755 -d "$docDir" + install -m 0644 -t "$docDir" Readme.md + + addAppDeskbarSymlink $appsDir/Genio/Genio +}