# Template file for 'nlopt' pkgname=nlopt version=2.6.2 revision=1 build_style=cmake short_desc="FOSS library for nonlinear optimization" maintainer="Orphaned " license="MIT" homepage="http://ab-initio.mit.edu/wiki/index.php/NLopt" distfiles="https://github.com/stevengj/nlopt/archive/v${version}.tar.gz" checksum=cfa5981736dd60d0109c534984c4e13c615314d3584cf1c392a155bfe1a3b17e post_install() { vlicense COPYING } nlopt-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove "usr/lib/*.so" vmove usr/include vmove usr/lib/pkgconfig vmove usr/lib/cmake vmove usr/share/man } }