STLover: add recipe

This commit is contained in:
Gerasim Troeglazov
2020-10-30 23:31:16 +10:00
parent 833c50b0a3
commit f250a2df04

View File

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