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

49 lines
1.1 KiB
Bash
Raw Permalink Normal View History

2020-11-13 11:36:38 +00:00
SUMMARY="A powerful tool for viewing and manipulating 3D STL models"
2020-10-30 13:31:16 +00:00
DESCRIPTION="Display and manipulate the content of stereolithography (STL) files."
HOMEPAGE="https://github.com/threedeyes/STLover"
2021-03-13 08:17:19 +00:00
COPYRIGHT="2021 Gerasim Troeglazov"
2020-10-30 13:31:16 +00:00
LICENSE="GNU GPL v2"
2020-11-13 11:36:38 +00:00
REVISION="1"
2020-10-30 13:31:16 +00:00
SOURCE_URI="https://github.com/threedeyes/STLover/archive/$portVersion.tar.gz"
2021-03-13 08:17:19 +00:00
CHECKSUM_SHA256="e2e71da762c9feb32ae59ea93e6edc36088eaebad1d52581af6e2742c73c6e49"
2020-10-30 13:31:16 +00:00
SOURCE_DIR="STLover-$portVersion"
ARCHITECTURES="all !x86_gcc2"
2020-10-30 13:31:16 +00:00
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
2020-12-04 05:39:55 +00:00
make bindcatalogs
2020-10-30 13:31:16 +00:00
}
INSTALL()
{
2020-12-04 05:39:55 +00:00
make install INSTALL_DIR=$appsDir
2020-10-30 13:31:16 +00:00
addAppDeskbarSymlink $appsDir/STLover
}