From ad5490e5e1a94136b730b155bd39c5277e2fb98f Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sun, 25 Jun 2017 16:38:01 +0000 Subject: [PATCH] New package: nlopt-2.4.2 --- common/shlibs | 1 + srcpkgs/nlopt-devel | 1 + srcpkgs/nlopt/template | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 120000 srcpkgs/nlopt-devel create mode 100644 srcpkgs/nlopt/template diff --git a/common/shlibs b/common/shlibs index b87651743c9..edf2f8c1b70 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/nlopt-devel b/srcpkgs/nlopt-devel new file mode 120000 index 00000000000..4d6aa0ed6af --- /dev/null +++ b/srcpkgs/nlopt-devel @@ -0,0 +1 @@ +nlopt \ No newline at end of file diff --git a/srcpkgs/nlopt/template b/srcpkgs/nlopt/template new file mode 100644 index 00000000000..db437c07755 --- /dev/null +++ b/srcpkgs/nlopt/template @@ -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 " +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 + } +}