0
0
Fork 0
haikuports/haiku-apps/stlover/stlover-0.7.2.recipe

49 lines
1.1 KiB
Bash

SUMMARY="A powerful tool for viewing and manipulating 3D STL models"
DESCRIPTION="Display and manipulate the content of stereolithography (STL) files."
HOMEPAGE="https://github.com/threedeyes/STLover"
COPYRIGHT="2021 Gerasim Troeglazov"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/threedeyes/STLover/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="e2e71da762c9feb32ae59ea93e6edc36088eaebad1d52581af6e2742c73c6e49"
SOURCE_DIR="STLover-$portVersion"
ARCHITECTURES="all !x86_gcc2"
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
make bindcatalogs
}
INSTALL()
{
make install INSTALL_DIR=$appsDir
addAppDeskbarSymlink $appsDir/STLover
}