2020-10-28 05:23:37 +00:00
|
|
|
|
SUMMARY="CLI and C library for processing triangulated solid meshes"
|
|
|
|
|
DESCRIPTION="ADMesh is a program for processing triangulated solid meshes. \
|
|
|
|
|
Currently, ADMesh only reads the STL file format that is used for rapid prototyping \
|
|
|
|
|
applications, although it can write STL, VRML, OFF, and DXF files. Additional \
|
|
|
|
|
information regarding the underlying algorithms of ADMesh can be found in \
|
|
|
|
|
Anthony Martins Masters Thesis."
|
|
|
|
|
HOMEPAGE="https://admesh.readthedocs.io/"
|
|
|
|
|
COPYRIGHT="Anthony D. Martin"
|
|
|
|
|
LICENSE="GNU GPL v2"
|
|
|
|
|
REVISION="1"
|
|
|
|
|
SOURCE_URI="https://github.com/admesh/admesh/releases/download/v$portVersion/admesh-$portVersion.tar.gz"
|
|
|
|
|
CHECKSUM_SHA256="1c441591f2223034fed2fe536cf73e996062cac840423c3abe5342f898a819bb"
|
|
|
|
|
PATCHES="admesh-$portVersion.patchset"
|
|
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
2020-10-28 05:23:37 +00:00
|
|
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
|
admesh$secondaryArchSuffix = $portVersion
|
|
|
|
|
cmd:admesh$secondaryArchSuffix = $portVersion
|
|
|
|
|
lib:libadmesh$secondaryArchSuffix = $portVersion
|
|
|
|
|
"
|
|
|
|
|
REQUIRES="
|
|
|
|
|
haiku$secondaryArchSuffix
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
PROVIDES_devel="
|
|
|
|
|
admesh${secondaryArchSuffix}_devel = $portVersion
|
|
|
|
|
devel:libadmesh$secondaryArchSuffix = $portVersion
|
|
|
|
|
"
|
|
|
|
|
REQUIRES_devel="
|
|
|
|
|
admesh$secondaryArchSuffix == $portVersion base
|
|
|
|
|
haiku${secondaryArchSuffix}_devel
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
|
|
|
|
haiku${secondaryArchSuffix}_devel
|
|
|
|
|
"
|
|
|
|
|
BUILD_PREREQUIRES="
|
|
|
|
|
cmd:autoconf
|
|
|
|
|
cmd:gcc$secondaryArchSuffix
|
|
|
|
|
cmd:make
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
BUILD()
|
|
|
|
|
{
|
|
|
|
|
autoconf -i
|
|
|
|
|
runConfigure ./configure
|
|
|
|
|
make $jobArgs
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
|
{
|
|
|
|
|
make install
|
|
|
|
|
|
|
|
|
|
rm $libDir/*.la
|
|
|
|
|
|
|
|
|
|
fixPkgconfig
|
|
|
|
|
|
|
|
|
|
prepareInstalledDevelLibs \
|
|
|
|
|
libadmesh
|
|
|
|
|
packageEntries devel \
|
|
|
|
|
$developDir
|
|
|
|
|
}
|