python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / nlopt / template
blobc0d062dc9b91f0f1a237904d678316b2c4b82c7b
1 # Template file for 'nlopt'
2 pkgname=nlopt
3 version=2.4.2
4 revision=2
5 build_style=gnu-configure
6 configure_args="--enable-shared"
7 short_desc="Free/open-source library for nonlinear optimization"
8 maintainer="Michael Gehring <mg@ebfe.org>"
9 license="MIT"
10 homepage="http://ab-initio.mit.edu/wiki/index.php/NLopt"
11 distfiles="http://ab-initio.mit.edu/nlopt/nlopt-${version}.tar.gz"
12 checksum=8099633de9d71cbc06cd435da993eb424bbcdbded8f803cdaa9fb8c6e09c8e89
14 post_install() {
15         vlicense COPYING
18 nlopt-devel_package() {
19         depends="${sourcepkg}>=${version}_${revision}"
20         short_desc+=" - development files"
21         pkg_install() {
22                 vmove "usr/lib/*.a"
23                 vmove "usr/lib/*.so"
24                 vmove usr/include
25                 vmove usr/lib/pkgconfig
26                 vmove usr/share/man
27         }