Files
haikuports/haiku-apps/stlover/stlover-0.2.0.recipe
2020-11-08 23:23:32 +10:00

49 lines
1.1 KiB
Bash

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="2"
SOURCE_URI="https://github.com/threedeyes/STLover/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="2085cde3a49d408fc86cc57a99c1763ca486dd1219804c0ef8c1e115c1e03bbc"
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
}