summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2017-07-06 16:20:30 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2017-07-06 21:31:12 +0000
commitb17325e1e27755c2f71c41776819887dbed294c6 (patch)
tree71c3c2e0aeb234cbd4d26ad75570e94c515d4395 /sci-astronomy/sofa_c
parentsci-astronomy/casa-data: syntax header (diff)
downloadgentoo-b17325e1e27755c2f71c41776819887dbed294c6.tar.gz
gentoo-b17325e1e27755c2f71c41776819887dbed294c6.tar.bz2
gentoo-b17325e1e27755c2f71c41776819887dbed294c6.zip
sci-astronomy/sofa_c: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'sci-astronomy/sofa_c')
-rw-r--r--sci-astronomy/sofa_c/Manifest1
-rw-r--r--sci-astronomy/sofa_c/sofa_c-20170420.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/sci-astronomy/sofa_c/Manifest b/sci-astronomy/sofa_c/Manifest
index 87fde28ffd3b..f937aa631145 100644
--- a/sci-astronomy/sofa_c/Manifest
+++ b/sci-astronomy/sofa_c/Manifest
@@ -1,2 +1,3 @@
DIST sofa_c-20150209_a.tar.gz 1685051 SHA256 b542c5e4ca42d91ada3c66e8d5b86eb9dec085bf1a07d058c01920c6c0b1174a SHA512 45524228db30c388315ce76c1d85db422fac09da3c3ed1442e362a6a2b4a10d27c19ea4a2d51c854280102a99706663622e0375b4afbf096b79877e7602fec4c WHIRLPOOL f4b084145cb3b9c2d722885ed89d2b8298d8fa4a21da25778852d76d20342331c3e7e2c6e28b3d0df04bc9bdf6fc921fe0e60f545ca91dcf69fe86316252006f
DIST sofa_c-20160503_c.tar.gz 1720164 SHA256 202608f75ae51b03fad5599d6efd7226f0c5073f9b409a82fddc7e841f165e16 SHA512 d21f02d0669a8707e8b2d34be4f30b4acc222b4155e7b4e4f9fc54bbabf1edc99b49e66619581bc3427eff8ed1d26668aae86af73f63a5fd21eb73f3339e0f26 WHIRLPOOL b4b276cbed394f423eb945fd95a3de27643e445ed58c90f3dd6d8512a469f775b2c0804a2a2bf9c4807d301bcb2714b5eaa961298787d5d3a6aadf1e43809b1b
+DIST sofa_c-20170420.tar.gz 1780577 SHA256 2ca0cc584f9420c72aef5a6c2f8551537e5dd5c1b77d7b189e86e6033120e668 SHA512 f2dd806243e3aec51ea03a54e10e533d4c3c1a69d032d5f3ddd7cd823a75aeed8033491c91366813b8d8e5c0b66e0fd582e6ede03aa7b136311fdd7a4ebf20d3 WHIRLPOOL 32cca3f6342a32cfa2e943b79c168bf55504f8a73614a3f1182e4ed8c295ae10a6ea4ed0f283b20854fcf665468b5794fd86c76c014989674ba781dbe29160df
diff --git a/sci-astronomy/sofa_c/sofa_c-20170420.ebuild b/sci-astronomy/sofa_c/sofa_c-20170420.ebuild
new file mode 100644
index 000000000000..d8382b0d7524
--- /dev/null
+++ b/sci-astronomy/sofa_c/sofa_c-20170420.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+YYYY=${PV:0:4}
+MMDD=${PV:4:4}
+#PP=${PV:8:1}
+MYPV=${YYYY}${MMDD}
+
+DESCRIPTION="Library for algorithms for models in fundamental astronomy"
+HOMEPAGE=" http://www.iausofa.org/current_C.html"
+SRC_URI="http://www.iausofa.org/${YYYY}_${MMDD}_C/${PN}-${MYPV}.tar.gz"
+
+LICENSE="SOFA"
+SLOT=0
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND=""
+
+PATCHES=( "${FILESDIR}"/${PN}-makefile.patch )
+
+S="${WORKDIR}/sofa/${MYPV}/c/src"
+
+src_prepare() {
+ default
+ sed -i -e "s:/lib:/$(get_libdir):" makefile || die
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${ED}" install
+ cd ..
+ dodoc 00READ.ME
+ use doc && dodoc doc/*.lis doc/*.pdf
+}