summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-astronomy/aatm/Manifest3
-rw-r--r--sci-astronomy/aatm/aatm-0.4.3.1.ebuild23
-rw-r--r--sci-astronomy/aatm/aatm-0.6.ebuild40
3 files changed, 41 insertions, 25 deletions
diff --git a/sci-astronomy/aatm/Manifest b/sci-astronomy/aatm/Manifest
index 50c9077216f..33d00e5aff3 100644
--- a/sci-astronomy/aatm/Manifest
+++ b/sci-astronomy/aatm/Manifest
@@ -1,2 +1 @@
-DIST aatm-0.4.3.1-ac-boost.patch.gz 4519 SHA256 7bf274010fb6df06faf06d287c2faf2b3b8ef4aa5f5b8f2624393cdc0cb13746 SHA512 b27e4859e475ea5411a8c1a17f20d19baacc456a436977589f65b9897c56e946bfc09e5532bbfd5bf7d63bbbcdddeccb4e5ea2800959e9cd39d791feb668e579 WHIRLPOOL a35450c8dba7b801352f4c81c8e52149167e5cb5a2a3d7b627949a9af98f15795409278ee59776a6ca9db96e838c093988f60cd0731aad08c2695cfb29bdf883
-DIST aatm-0.4.3.1.tar.gz 611919 SHA256 b41c5b524bc66559357a20ef032b407385aa919e07fd5742afffd33847fa42c9 SHA512 dce1b52ea2396d40f3f413b9ea40987b5eaa0d9902e4713d8a242d2c04e7fb93078f94f08a30af42195083919289d3fc8a449dd891ce1c8cb40d7358203d43ff WHIRLPOOL 9c76381c0b937f9bdea82df274dc85aa4136a1993247899b351754d88765340a2c597d6eed04ad766ec023977b8850ba4c464bad4bf33fe8d1c54e1e6654e038
+DIST aatm-0.6.tar.gz 613800 SHA256 9fdfb7d0bba71ad32c091baf6242a5bd17041277016473959c5e90d6dcac1b68 SHA512 aef2d0fccc83a8a5817bd414b60c5167f7e378b434f9a3e9ce2bc2eeceec1cc1fb1b141cec07d78cb325dbfceac2804c07866291b2863f6839dfb6143ed9188a WHIRLPOOL 1d8fff78f72810b53f86452a930701d7910314dbd06d0060a7e677260bd29526de44e2b8658c584fd9692727af02a5ee918b319e8932be1cfe428fc579e520d0
diff --git a/sci-astronomy/aatm/aatm-0.4.3.1.ebuild b/sci-astronomy/aatm/aatm-0.4.3.1.ebuild
deleted file mode 100644
index afb448abd4c..00000000000
--- a/sci-astronomy/aatm/aatm-0.4.3.1.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-AUTOTOOLS_AUTORECONF=1
-inherit autotools-utils
-
-DESCRIPTION="Atmospheric Modelling for ALMA Observatory"
-HOMEPAGE="http://www.mrao.cam.ac.uk/~bn204/alma/atmomodel.html"
-SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz
- https://dev.gentoo.org/~bicatali/distfiles/${P}-ac-boost.patch.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs"
-
-RDEPEND="dev-libs/boost"
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${WORKDIR}"/${P}-ac-boost.patch )
diff --git a/sci-astronomy/aatm/aatm-0.6.ebuild b/sci-astronomy/aatm/aatm-0.6.ebuild
new file mode 100644
index 00000000000..4e3de126deb
--- /dev/null
+++ b/sci-astronomy/aatm/aatm-0.6.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="Atmospheric Modelling for ALMA Observatory"
+HOMEPAGE="https://svn.cv.nrao.edu/view/aatm/devel/casa/"
+# tar ball is made from the HOMEPAGE and running ./configure && make dist
+SRC_URI="https://dev.gentoo.org/~bicatali/distfiles/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/4"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-libs/boost:=
+ doc? ( app-doc/doxygen[dot] )"
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_compile() {
+ emake
+ use doc && doxygen doc/developer.doxy
+}
+
+src_install() {
+ default
+ use static-libs || prune_libtool_files --all
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins -r developer/html
+ fi
+}