mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
STLover: add recipe
This commit is contained in:
48
haiku-apps/stlover/stlover-0.1.0.recipe
Normal file
48
haiku-apps/stlover/stlover-0.1.0.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user