New package: nlopt-2.4.2

This commit is contained in:
Michael Gehring 2017-06-25 16:38:01 +00:00
parent c9f538688a
commit ad5490e5e1
3 changed files with 30 additions and 0 deletions

View File

@ -2800,3 +2800,4 @@ libnss_ldap.so.2 nss-pam-ldapd-0.9.7_4
libunshield.so.0 libunshield-0.6_1
libMyGUIEngine.so.3 libmygui-3.2.2_1
libproj.so.12 proj-4.9.3_1
libnlopt.so.0 nlopt-2.4.2_1

1
srcpkgs/nlopt-devel Symbolic link
View File

@ -0,0 +1 @@
nlopt

28
srcpkgs/nlopt/template Normal file
View File

@ -0,0 +1,28 @@
# Template file for 'nlopt'
pkgname=nlopt
version=2.4.2
revision=1
build_style=gnu-configure
configure_args="--enable-shared"
short_desc="Free/open-source library for nonlinear optimization"
maintainer="Michael Gehring <mg@ebfe.org>"
license="MIT"
homepage="http://ab-initio.mit.edu/wiki/index.php/NLopt"
distfiles="http://ab-initio.mit.edu/nlopt/nlopt-${version}.tar.gz"
checksum=8099633de9d71cbc06cd435da993eb424bbcdbded8f803cdaa9fb8c6e09c8e89
post_install() {
vlicense COPYING
}
nlopt-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man
}
}