parent
0353d099ff
commit
0af6ec3dfe
4 changed files with 39 additions and 0 deletions
|
@ -3981,6 +3981,7 @@ libtexlua53.so.5 texlive-LuaTeX-20200406_1
|
|||
libptexenc.so.1 texlive-20200406_1
|
||||
libsynctex.so.2 libsynctex-20200406_3
|
||||
libdolphinvcs.so.5 dolphin-20.04.3_1
|
||||
libocl.so.2019.07 opencamlib-2019.07_1
|
||||
libcglm.so.0 cglm-0.7.6_1
|
||||
libfcft.so.3 fcft-2.2.2_1
|
||||
libaml.so.0 aml-0.1.0_1
|
||||
|
|
1
srcpkgs/opencamlib-devel
Symbolic link
1
srcpkgs/opencamlib-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
opencamlib/
|
1
srcpkgs/opencamlib-python3
Symbolic link
1
srcpkgs/opencamlib-python3
Symbolic link
|
@ -0,0 +1 @@
|
|||
opencamlib/
|
36
srcpkgs/opencamlib/template
Normal file
36
srcpkgs/opencamlib/template
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Template file for 'opencamlib'
|
||||
pkgname=opencamlib
|
||||
version=2019.07
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_PY_LIB=ON -DUSE_PY_3=ON -DVERSION_STRING=${version}"
|
||||
hostmakedepends="python3"
|
||||
makedepends="python3-devel boost-devel libboost_program_options1.72 libgomp-devel"
|
||||
short_desc="Open source computer aided manufacturing algorithms library"
|
||||
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="http://www.anderswallin.net/CAM"
|
||||
distfiles="https://github.com/aewallin/opencamlib/archive/${version}.tar.gz"
|
||||
checksum=e08ab50672e24b51d30938ac60a6caa38bd8f5fb5f8fa3375dec0e69031cb620
|
||||
|
||||
subpackages="opencamlib-devel"
|
||||
# opencamlib-python3 cannot be cross compiled because of vtk-python3
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
subpackages+=" opencamlib-python3"
|
||||
fi
|
||||
|
||||
opencamlib-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
}
|
||||
}
|
||||
|
||||
opencamlib-python3_package() {
|
||||
short_desc+=" - Python3 bindings"
|
||||
depends="${sourcepkg}>=${version}_${revision} vtk-python3"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/python3*"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue