2019-10-05 14:59:32 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://openscad.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="The programmers solid 3D CAD modeller (headless build)"
|
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2021-03-01 22:15:07 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2019-10-05 14:59:32 +02:00
|
|
|
TERMUX_PKG_VERSION=2019.05
|
2022-03-20 18:13:41 +01:00
|
|
|
TERMUX_PKG_REVISION=8
|
2019-10-05 14:59:32 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://files.openscad.org/openscad-$TERMUX_PKG_VERSION.src.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=0a16c4263ce52380819dd91c609a719d38f12f6b8c4da0e828dcbe5b70996f59
|
|
|
|
TERMUX_PKG_DEPENDS="boost, cgal, double-conversion, fontconfig, harfbuzz, libzip"
|
2022-03-01 15:16:18 +01:00
|
|
|
TERMUX_PKG_BUILD_DEPENDS="boost-headers, eigen"
|
2021-12-27 15:41:02 +01:00
|
|
|
TERMUX_PKG_GROUPS="science"
|
2019-10-05 14:59:32 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
-DBoost_USE_STATIC_LIBS=OFF
|
|
|
|
-DBUILD_SHARED_LIBS=ON
|
|
|
|
-DBUILD_STATIC_LIBS=OFF
|
|
|
|
-DNULLGL=ON
|
|
|
|
"
|
2019-10-26 10:43:16 +02:00
|
|
|
|
|
|
|
termux_step_make_install () {
|
|
|
|
mkdir -p $TERMUX_PREFIX/share/openscad
|
|
|
|
install openscad $TERMUX_PREFIX/bin/
|
|
|
|
cp -r $TERMUX_PKG_SRCDIR/libraries $TERMUX_PREFIX/share/openscad/
|
|
|
|
cp -r $TERMUX_PKG_SRCDIR/examples $TERMUX_PREFIX/share/openscad/
|
|
|
|
}
|