26 lines
849 B
Bash
26 lines
849 B
Bash
|
# Template file for 'libnest2d'
|
||
|
pkgname=libnest2d
|
||
|
version=0.4
|
||
|
revision=1
|
||
|
build_style=cmake
|
||
|
configure_args="-DBUILD_SHARED_LIBS=ON -DLIBNEST2D_HEADER_ONLY=OFF
|
||
|
-DLIBNEST2D_BUILD_UNITTESTS=ON -DCMAKE_CXX_STANDARD=14"
|
||
|
makedepends="clipper-devel nlopt-devel boost-devel catch2"
|
||
|
checkdepends="catch2"
|
||
|
short_desc="2D irregular bin packing and nesting library"
|
||
|
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
|
||
|
license="LGPL-3.0-or-later"
|
||
|
homepage="https://github.com/tamasmeszaros/libnest2d"
|
||
|
distfiles="https://github.com/tamasmeszaros/libnest2d/archive/${version}.tar.gz"
|
||
|
checksum=00c909aa5690bead2be36cc57653c54c7c69d260a3c74924e9dfd79994729a2a
|
||
|
|
||
|
libnest2d-devel_package() {
|
||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/cmake
|
||
|
vmove "usr/lib/*.so"
|
||
|
}
|
||
|
}
|