summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-01-20 16:56:52 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-01-20 16:56:52 +0000
commita0d3a053c9459e024f38f89499a14f0f87bc2430 (patch)
treefd292954a55c2cbab0130af8990b5a0c75a94475 /sci-libs/nlopt
parentold (diff)
downloadhistorical-a0d3a053c9459e024f38f89499a14f0f87bc2430.tar.gz
historical-a0d3a053c9459e024f38f89499a14f0f87bc2430.tar.bz2
historical-a0d3a053c9459e024f38f89499a14f0f87bc2430.zip
Switched to autotools-utils
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/nlopt')
-rw-r--r--sci-libs/nlopt/ChangeLog7
-rw-r--r--sci-libs/nlopt/Manifest12
-rw-r--r--sci-libs/nlopt/nlopt-2.2.4.ebuild35
3 files changed, 27 insertions, 27 deletions
diff --git a/sci-libs/nlopt/ChangeLog b/sci-libs/nlopt/ChangeLog
index a7a67101fc44..f12d5cda71a0 100644
--- a/sci-libs/nlopt/ChangeLog
+++ b/sci-libs/nlopt/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/nlopt
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/nlopt/ChangeLog,v 1.9 2011/07/28 23:51:13 bicatali Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/nlopt/ChangeLog,v 1.10 2012/01/20 16:56:52 bicatali Exp $
+
+ 20 Jan 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> nlopt-2.2.4.ebuild:
+ Switched to autotools-utils
*nlopt-2.2.4 (28 Jul 2011)
diff --git a/sci-libs/nlopt/Manifest b/sci-libs/nlopt/Manifest
index e56667e990dd..c7a4d93e7e23 100644
--- a/sci-libs/nlopt/Manifest
+++ b/sci-libs/nlopt/Manifest
@@ -2,13 +2,13 @@
Hash: SHA1
DIST nlopt-2.2.4.tar.gz 2315878 RMD160 e3573ea28c2b572fc060a2c985729fb1e6e42bfe SHA1 a97fcffb0c3aaf57aab5aadb9487e99b09dbee54 SHA256 a903125d6495df4861b2aea8b3ce9c6b881caaf36bf62db923335d96e3a60a20
-EBUILD nlopt-2.2.4.ebuild 2195 RMD160 e8e389f86eecca9aad07475304a766b08f054c64 SHA1 9c3f4f80729c140d2f6310729343a7433f2de902 SHA256 6f0e74c828d8c0b727428245435bf1d61b1c56a652d0bd4156d3be2ebb6766c4
-MISC ChangeLog 1632 RMD160 dc45711dd21c18cc25f0b423110527f0afa8f503 SHA1 829e6803001c65981e1b4e253dbfdf6671aaa337 SHA256 26be544a4aeceb69e98337353f54623b453314a003714d73f5e935e95f170f3d
+EBUILD nlopt-2.2.4.ebuild 2144 RMD160 2d7241d669f184e3d2435070977d4889e46523d2 SHA1 23ff649e0ac9638c1a4c3b18b345c0100cddd791 SHA256 7a8c26554c2ae37fc97516f4f295fa53f0a4637c198977451b1a2dd0a16e74fa
+MISC ChangeLog 1739 RMD160 9c0a52acb576e262272e06ce6a18b40eb27381fc SHA1 f25ec4c3deb7a82c3ca54599d3d5f594d4fb1ed3 SHA256 ff476dc5a9e0a097542ce9db4ea2550fea1a4134d032a928fca49a03adcc432d
MISC metadata.xml 989 RMD160 6f55880019b7536e9d06ec148a89b1a78549739c SHA1 cf38e876466795bf3f1a346109735250deb110ce SHA256 bb292895a0e7ea7abba5a9588b702755fcd85918ea1c58b8ad71f9d4ddde52cc
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk4x9fsACgkQ1ycZbhPLE2APMgCbBwbNgbrVNuvA0YoGvHs9uBYg
-LPEAoJA5n6Ysc1DnRc5o5Os89dVVytpU
-=DY7T
+iEYEARECAAYFAk8ZnNwACgkQ1ycZbhPLE2DhxgCcD+xdvSmw3KbvXBZ45booJLzh
+9b4An3jgJ16h3z5ti+IkGchFKhaZlQno
+=NMCB
-----END PGP SIGNATURE-----
diff --git a/sci-libs/nlopt/nlopt-2.2.4.ebuild b/sci-libs/nlopt/nlopt-2.2.4.ebuild
index 392d903431c9..c846c1109df1 100644
--- a/sci-libs/nlopt/nlopt-2.2.4.ebuild
+++ b/sci-libs/nlopt/nlopt-2.2.4.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/nlopt/nlopt-2.2.4.ebuild,v 1.1 2011/07/28 23:51:14 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/nlopt/nlopt-2.2.4.ebuild,v 1.2 2012/01/20 16:56:52 bicatali Exp $
-EAPI=3
+EAPI=4
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="python? *"
RESTRICT_PYTHON_ABIS="3.*"
-inherit eutils python
+inherit python autotools-utils
DESCRIPTION="Non-linear optimization library"
HOMEPAGE="http://ab-initio.mit.edu/nlopt/"
@@ -41,21 +41,21 @@ src_configure() {
else
export MKOCTFILE=None
fi
- econf \
- --enable-shared \
- $(use_enable static-libs static) \
- $(use_with cxx) \
- $(use_with guile) \
- $(use_with octave) \
+ myeconfargs+=(
+ $(use_with cxx)
+ $(use_with guile)
+ $(use_with octave)
$(use_with python)
+ )
use python && python_copy_sources swig
+ autotools-utils_src_configure
}
src_compile() {
- default
+ autotools-utils_src_compile
if use python; then
compilation() {
- emake \
+ autotools-utils_src_compile \
PYTHON_CPPFLAGS="-I$(python_get_includedir)" \
PYTHON_LDFLAGS="$(python_get_library -l)" \
PYTHON_SITE_PKG="$(python_get_sitedir)" \
@@ -67,20 +67,17 @@ src_compile() {
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ autotools-utils_src_install
if use python; then
installation() {
- emake \
- DESTDIR="${D}" \
+ autotools-utils_src_install \
pyexecdir="$(python_get_sitedir)" \
- pythondir="$(python_get_sitedir)" \
- install
+ pythondir="$(python_get_sitedir)"
}
python_execute_function -s --source-dir swig installation
python_clean_installation_image
fi
-
- dodoc AUTHORS ChangeLog NEWS README || die
+ local r
for r in */README; do newdoc ${r} README.$(dirname ${r}); done
}