summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-12-06 08:27:08 +0000
committerJustin Lecher <jlec@gentoo.org>2012-12-06 08:27:08 +0000
commit2f6dab5127882d3425423806ec7279a23d742856 (patch)
tree25843fa2ebc15c056f78c4e615a8cb523671309c /sci-libs/cbflib
parentSort this eapi case stuff. (diff)
downloadhistorical-2f6dab5127882d3425423806ec7279a23d742856.tar.gz
historical-2f6dab5127882d3425423806ec7279a23d742856.tar.bz2
historical-2f6dab5127882d3425423806ec7279a23d742856.zip
sci-libs/cbflib: Resurrect old version
Package-Manager: portage-2.2.0_alpha144/cvs/Linux x86_64 Manifest-Sign-Key: 0x70EB7916
Diffstat (limited to 'sci-libs/cbflib')
-rw-r--r--sci-libs/cbflib/ChangeLog5
-rw-r--r--sci-libs/cbflib/Manifest12
-rw-r--r--sci-libs/cbflib/cbflib-0.9.2.2.ebuild71
3 files changed, 83 insertions, 5 deletions
diff --git a/sci-libs/cbflib/ChangeLog b/sci-libs/cbflib/ChangeLog
index 66114f7ad082..68e035ce37a5 100644
--- a/sci-libs/cbflib/ChangeLog
+++ b/sci-libs/cbflib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/cbflib
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v 1.32 2012/12/04 11:49:31 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v 1.33 2012/12/06 08:27:07 jlec Exp $
+
+ 06 Dec 2012; Justin Lecher <jlec@gentoo.org> +cbflib-0.9.2.2.ebuild:
+ Resurrect old version
04 Dec 2012; Justin Lecher <jlec@gentoo.org> -cbflib-0.9.0-r3.ebuild,
-cbflib-0.9.2.3.ebuild:
diff --git a/sci-libs/cbflib/Manifest b/sci-libs/cbflib/Manifest
index f44f47f86e20..5f34ab29e916 100644
--- a/sci-libs/cbflib/Manifest
+++ b/sci-libs/cbflib/Manifest
@@ -5,14 +5,18 @@ AUX 0.9.0-Makefile.patch 3091 SHA256 361cd3c6a906f6bfe2761196e459aec2735e4bb5395
AUX 0.9.0-python.patch 574 SHA256 632e0820b0479a7f267d34ba8709b8bc828c58e3d63b45d6b78c9c86af0f4594 SHA512 816633f0f15b8d0a4475c0db36a508b320dec76b162470c73f6a931315fbbee58e12c40820e5e1e6f517e755bbb40d808161875a76691c68b74817c3c39132cf WHIRLPOOL a45a0049168e7050edaa9cb89d680020a8d776ea24b4f6a6649e59040f0d4bca969423fdde8ac53d0e649d8c6ccaabbd26a5e2da47091ee070e162fedf2a009a
AUX 0.9.2.2-Makefile.patch 4597 SHA256 c1f13709e8f264f0eba1f08624eeced697036c1a9467b2b099a3eadb0e82a0eb SHA512 d13b5e89e5cf6cf785876311038c253d700dd7675a00e85a03095bf6fb79c3b9ce874c7f2b2bfe671b9f0a955da1ee648261370b8e22a52ca0c148a96583fa97 WHIRLPOOL 8e75f2b0f17e6c0fba5a759cdd63d9f9807af9831ca2d89a1142b6cccb2f961f9c1909655fc79817f497a824fe7b95803b7d02fed16857948ed9919b70c275a3
AUX 0.9.2.3-Makefile.patch 4691 SHA256 4f819e20c182eccb94ab8bdbde3129375eb1caa06037b3f65270571f70b2bcbf SHA512 07336fcf5f44dff2895cdf3b7d74bf8296772acb932e78134c0b5463821e693f94f87a5885685228d177741473ca77da15157cea46eed07e46da2d6b440a010f WHIRLPOOL 89e0cc572238578114f8fae743cbfe95d782028f2a9ac2089ad3feb632d569481fcdeee4cc2ca0a886abca0cddcbdbb9951cc0873681000071164c9c22f3b998
+DIST CBFlib-0.9.2.2.tar.gz 4549837 SHA256 ce289756d643aa2ab79fd1614183ccee7ad06f128d1d8d59c97d7c107ce5f802 SHA512 756153ba81c17ea55d1397227273bc912a4fec7fd70d0b226b2519a5a14c92b612d6421f2748583aea5d0162b1defa51740200e936ce4f23b13b1506cfa5a043 WHIRLPOOL 4b690fa5698503eb424886391752fa2f4b5dad89b184cb4390506980032141ac5c147002b0261ec2769c9ea8aba696c629883b080bc504bc58d973367e399718
DIST CBFlib-0.9.2.4.tar.gz 4564355 SHA256 c7d11a70e6454a6801e8f30d56db6639fa814aa25775bf54109325073c4a08c1 SHA512 e1ee1fe39b3d15e5d707d973c5666f198e3c9006b4c449fa56287032661a7ecfbeadad0fda528310f9cdd9f33856004333784a840d193a5c7db6c5c071fb07e5 WHIRLPOOL ded867cda1757196ad2188eda7a1a09999411a3d1a452172880fabdc5504aa346e44b2c8c25d921f674897ec7f8edf3da4de79d4843f68ecbb72634631ea43dd
+DIST CBFlib_0.9.2_Data_Files_Input.tar.gz 17102003 SHA256 4414166a5a5b5ef6e4c460bb6941bd0aca53e7a41dbc9e5bdf0c6d44cf00d5ac SHA512 86689695155b822146e8cc1e310f4820292cde28c9cc240da34ef8259c429af7b182a055e1014078081528c505b0269367cd5e6e80278a53b448f0cc0dfcc3aa WHIRLPOOL a946dce8a6fa1a90a6fb3e7ec167a2ba41fdd5ef9435f4da083f9f9a7f5dfb94a2ebef1d1c36f5332fc486452b9b26c29161c7484ba337da83c24fbcd0334126
+DIST CBFlib_0.9.2_Data_Files_Output.tar.gz 36009958 SHA256 311cebff470b7d4f94b7888252cca879e6e0745f4e2eb6fa9e21cf84f984029b SHA512 fb08cbc5a68a73089c012c4c8da2a02ed7a216e02f23f2b24ba2e4dca7af834c7200868028921540e14326ea88e48028675e1be1f2c572eb3e962a79cf892002 WHIRLPOOL 386691e706dafacb9f5ee13f74fcf0f78c3a827d434ae18602fb2a8f805c178f9883e10658ed739a35bb7ceb58b628c1a9f1bbf89144efd793d13c7a62c3d05b
+EBUILD cbflib-0.9.2.2.ebuild 1714 SHA256 63ab98aec70efc37b3b7f20cdc02599f06a412fca67f414316966fd6649cff74 SHA512 102a3a88bcc55bba053b7d7b76657dcc9c6bc6f7bc4f2f9c96aa2021c58ef12870543470f44fe552d866650770aefa79b32dbcc9fe941055e26d8111e5cdea13 WHIRLPOOL ea1b4db76b76add23c7290ecdc3397aed196feed73a0a9e4d5b3e19feeac93a1eefbe6465a973659feb53bd006c1ae040966bc2348be6d760bc66842d74dc37e
EBUILD cbflib-0.9.2.4.ebuild 1729 SHA256 f4268291863735fa5785681d78e0125fa1b24a8aa0a7d215f2638cbbc912e713 SHA512 d0a126104db213ddeb5f7634babd1676f6c9514910244a7ddd0d430780dd800c9984f56ba85d87101da62bb59707b9748aa0ab962e242b5247b0663817e9a7d9 WHIRLPOOL 8aca923734fbc1e30780ae147ab1500ad6460315a65d189e650a945046271a605a902b4d429d270727e3a9d41e3cc6b90cea9964379cb3ba9b2955c33bb6242c
-MISC ChangeLog 4940 SHA256 7ee09f6166ab1ff41f757e5ee54eb8f79d32a1078165d44218b56415f4fd3a20 SHA512 336add2a328aae78441ac82d6a27a82ccb5678f20382205a6327a1b40c4b9fad8ced8bcd8bc7046010a37f9f42520c04d469e2240b9d882769ad59d85a66bbc7 WHIRLPOOL f6002f121823f1ae831b895cfedd4f7bae786ad180984c100639a29ac6a0212ca098f386cb6241c1dc1763b4707012766ee7720993687457a0336efe899a610f
+MISC ChangeLog 5036 SHA256 1aade9904c6a54e203b531e4eeda8a3aa1214a2c5a7a0c18c9c20d4729eecdad SHA512 bb5deb28d41d0d848c6886a68ab4140c1808616f2de2bfe646ca94aadfea3080131a6051fe7693bf4c2f04e587e55e795c98edfa40a431e2bdb9c480fe07a9d6 WHIRLPOOL 743c56c67d5cf448c026b3e5c0418acce9240899be0d126a95d43def776898700e5f2d6473b5dda8840428831036978c5ff2b52cc7236d81e59055fb4a902190
MISC metadata.xml 815 SHA256 a1b89fcf3c9fdd677a97a76e4e886570c6f9284ee8cb34bdca51f091c13330cb SHA512 e1a7836f31c4384ef1b92dd2b49b993e0f9fa4d9d68e85e29b79bfd461472e4b2e3fea70b8e76e7e24384593727e417b0504edd09006e873f8b40167e6f2dd4a WHIRLPOOL 5f2276d1838588e5ddac1cb5fc9e81579164256e6b39b54032ddaf7e024f64696249cd303afb7c8df5ca3b4ee389c3dd0957f4e439f0bd2fc768b11e991c493c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlC940wACgkQgAnW8HDreRYkMwCgkktk160yOQG2KxIZ7YkkU1Fx
-AQwAn0fSTj9tZYZjHw2+42TFVVPL856m
-=9Xm4
+iEYEAREIAAYFAlDAVtsACgkQgAnW8HDreRZWJwCfexQIenz/xXkv7hDGbLsZ+co8
+EDAAn35ZRV88da1f8DhYAdmVPHQuHA9E
+=sw/P
-----END PGP SIGNATURE-----
diff --git a/sci-libs/cbflib/cbflib-0.9.2.2.ebuild b/sci-libs/cbflib/cbflib-0.9.2.2.ebuild
new file mode 100644
index 000000000000..65fd2136e17a
--- /dev/null
+++ b/sci-libs/cbflib/cbflib-0.9.2.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/cbflib-0.9.2.2.ebuild,v 1.5 2012/12/06 08:27:07 jlec Exp $
+
+EAPI=4
+
+inherit eutils flag-o-matic fortran-2 toolchain-funcs
+
+MY_P1="CBFlib-${PV}"
+#MY_P2="CBFlib_${PV}"
+MY_P2="CBFlib_0.9.2"
+
+DESCRIPTION="Library providing a simple mechanism for accessing CBF files and imgCIF files"
+HOMEPAGE="http://www.bernstein-plus-sons.com/software/CBF/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P1}.tar.gz
+ test? (
+ mirror://sourceforge/${PN}/${MY_P2}_Data_Files_Input.tar.gz
+ mirror://sourceforge/${PN}/${MY_P2}_Data_Files_Output.tar.gz
+ )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+DEPEND="virtual/fortran"
+RDEPEND="${DEPEND}"
+#test? ( sys-process/time )"
+
+S=${WORKDIR}/${MY_P1}
+
+src_prepare(){
+ rm -rf Py* drel* dRel* ply*
+ epatch "${FILESDIR}"/${PV}-Makefile.patch
+ cp Makefile_LINUX_gcc42 Makefile
+
+ append-fflags -fno-range-check
+ append-cflags -D_USE_XOPEN_EXTENDED -DCBF_DONT_USE_LONG_LONG
+
+ sed \
+ -e "s|^CC.*$|CC = $(tc-getCC)|" \
+ -e "s|^C++.*$|C++ = $(tc-getCXX)|" \
+ -e "s|C++|CXX|g" \
+ -e "s|^CFLAGS.*$|CFLAGS = ${CFLAGS}|" \
+ -e "s|^F90C.*$|F90C = $(tc-getFC)|" \
+ -e "s|^F90FLAGS.*$|F90FLAGS = ${FFLAGS}|" \
+ -e "s|^SOLDFLAGS.*$|SOLDFLAGS = -shared ${LDFLAGS}|g" \
+ -e "s| /bin| ${EPREFIX}/bin|g" \
+ -e "s|/usr|${EPREFIX}/usr|g" \
+ -i Makefile || die
+}
+
+src_compile() {
+ emake -j1 shared
+}
+
+src_test(){
+ emake -j1 basic
+}
+
+src_install() {
+ insinto /usr/include/${PN}
+ doins include/*.h
+
+ dolib.so solib/lib*
+
+ dodoc README
+ if use doc; then
+ dohtml -r README.html html_graphics doc
+ fi
+}