diff --git a/haiku-apps/stlover/stlover-0.1.0.recipe b/haiku-apps/stlover/stlover-0.1.0.recipe new file mode 100644 index 000000000..9f43c487b --- /dev/null +++ b/haiku-apps/stlover/stlover-0.1.0.recipe @@ -0,0 +1,48 @@ +SUMMARY="A simple STL viewer" +DESCRIPTION="Display and manipulate the content of stereolithography (STL) files." +HOMEPAGE="https://github.com/threedeyes/STLover" +COPYRIGHT="2020 Gerasim Troeglazov" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="https://github.com/threedeyes/STLover/archive/$portVersion.tar.gz" +CHECKSUM_SHA256="4cd468d09df29b5488936ecf2d6287282fb883f1a94b56b9a5eca6e5e8a13c50" +SOURCE_DIR="STLover-$portVersion" + +ARCHITECTURES="!x86_gcc2 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + stlover$secondaryArchSuffix = $portVersion + app:STLover = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libadmesh$secondaryArchSuffix + lib:libgl$secondaryArchSuffix + lib:libglu$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libadmesh$secondaryArchSuffix + devel:libgl$secondaryArchSuffix + devel:libglu$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + " + +BUILD() +{ + make +} + +INSTALL() +{ + mkdir -p $appsDir + make TARGET_DIR=$appsDir + addAppDeskbarSymlink $appsDir/STLover +}