From eb16989cfd95199cbecfab1b0977dde925e7db11 Mon Sep 17 00:00:00 2001 From: Jeffrey Gardner Date: Fri, 23 Feb 2007 17:07:45 +0000 Subject: [PATCH] Add apbs-0.5.0. Package-Manager: portage-2.1.2-r9 --- sci-chemistry/apbs/ChangeLog | 7 ++- sci-chemistry/apbs/Manifest | 26 ++++---- sci-chemistry/apbs/apbs-0.5.0.ebuild | 72 ++++++++++++++++++++++ sci-chemistry/apbs/files/digest-apbs-0.5.0 | 3 + 4 files changed, 93 insertions(+), 15 deletions(-) create mode 100644 sci-chemistry/apbs/apbs-0.5.0.ebuild create mode 100644 sci-chemistry/apbs/files/digest-apbs-0.5.0 diff --git a/sci-chemistry/apbs/ChangeLog b/sci-chemistry/apbs/ChangeLog index 72c40eb5a466..2c4d07b3a210 100644 --- a/sci-chemistry/apbs/ChangeLog +++ b/sci-chemistry/apbs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-chemistry/apbs # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.11 2007/01/06 22:21:57 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.12 2007/02/23 17:07:45 je_fro Exp $ + +*apbs-0.5.0 (23 Feb 2007) + + 23 Feb 2007; Jeff Gardner +apbs-0.5.0.ebuild: + Add apbs-0.5.0 with Big Thanks(tm) to Stephen Floor. 06 Jan 2007; Danny van Dyk -apbs-0.3.2.ebuild: QA: Removed unused versions. diff --git a/sci-chemistry/apbs/Manifest b/sci-chemistry/apbs/Manifest index bd4a32c11a10..1c1e08675b8e 100644 --- a/sci-chemistry/apbs/Manifest +++ b/sci-chemistry/apbs/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX apbs-examples-gentoo.patch 1446 RMD160 f0468219d3295cbaf90de7c0e3489d443f1ea144 SHA1 906197ecc9ee745cb0573ed2798a671cccd7b5a4 SHA256 1b12fdf855c4e80bb6e88d6b9c433a4c18eb406a5a6d1671146be897452863d4 MD5 43dd7c966e75cdbd40215b3616cfddf5 files/apbs-examples-gentoo.patch 1446 RMD160 f0468219d3295cbaf90de7c0e3489d443f1ea144 files/apbs-examples-gentoo.patch 1446 @@ -10,14 +7,19 @@ MD5 c54fdb174c6ca236268f3fb45c3c837e files/apbs-gcc4-gentoo.patch 1080 RMD160 88138dc27c2fa17e558dc3a5c8c41e52bd2f0309 files/apbs-gcc4-gentoo.patch 1080 SHA256 9077f4ffc41a2af28eed4193a2e56d20b668e2bc280ca2740d3a8803e28c48d6 files/apbs-gcc4-gentoo.patch 1080 DIST apbs-0.4.0.tar.gz 6490858 RMD160 259c89efed2296eb20af1f8076adc767ef35228c SHA1 f7a5aaefebb545b06f66cb11f229f959060e6c3f SHA256 d1f6637e10b3051e6f618abaa14063f8f9bafbbbad75058645866b606d708acc +DIST apbs-0.5.0-source-2.tar.gz 10171621 RMD160 31a00f89052cc32d0fdf3272c214f2145ac62067 SHA1 4d3376a62169e3965a2d3b49a2b4b1014bf7721e SHA256 5f99cc6141d34800cf9e93e0e23215b3f740f6e208318698e7011602e1630a08 EBUILD apbs-0.4.0.ebuild 2280 RMD160 277f2f795e1e720426557f7fa0ce35dd9e7d403e SHA1 8cfe3adf2e3dcb89dccea3dc680c16b4e0ab5d29 SHA256 973ed7316cc0c481ffee964f741d6ee70d266e339c5866eb6ab03066409402c4 MD5 708463d3385a2b9abdc5785f59282394 apbs-0.4.0.ebuild 2280 RMD160 277f2f795e1e720426557f7fa0ce35dd9e7d403e apbs-0.4.0.ebuild 2280 SHA256 973ed7316cc0c481ffee964f741d6ee70d266e339c5866eb6ab03066409402c4 apbs-0.4.0.ebuild 2280 -MISC ChangeLog 1637 RMD160 f67fb69781ced9f445a900fd77db3b8fbe3f110f SHA1 ebdddd0fe5fca00a7b32172592f8bfb47baa90bd SHA256 5d33ab22d4afc9b3b40ccbe8e3071812cd559a00feac8edd8026adcb2933da18 -MD5 4a26c09ad1d66176b2fccfab82c07520 ChangeLog 1637 -RMD160 f67fb69781ced9f445a900fd77db3b8fbe3f110f ChangeLog 1637 -SHA256 5d33ab22d4afc9b3b40ccbe8e3071812cd559a00feac8edd8026adcb2933da18 ChangeLog 1637 +EBUILD apbs-0.5.0.ebuild 1788 RMD160 93a9f0ee264c27878462671ee887ee4d9e74e145 SHA1 b8ce30037e3e817cedbae56cad70502764ecaaef SHA256 127474edc79452cf8f7d0677b3bc81024231f0e029895ade2358bbfbe7a85c39 +MD5 64456e5cb69bf07896265c5baf321c78 apbs-0.5.0.ebuild 1788 +RMD160 93a9f0ee264c27878462671ee887ee4d9e74e145 apbs-0.5.0.ebuild 1788 +SHA256 127474edc79452cf8f7d0677b3bc81024231f0e029895ade2358bbfbe7a85c39 apbs-0.5.0.ebuild 1788 +MISC ChangeLog 1785 RMD160 0a05c6ad8272890a60db7394d4f2d88a14184137 SHA1 621dfb7c62c782c23bbc67ee8d0b36f39aa7a6b7 SHA256 d0f013e18af1965e364d2d4eaa3129852e8f92ce56ed9c869ccaebe3dbabeb18 +MD5 37e2ae75233c1cd868a4b759bdfbadcf ChangeLog 1785 +RMD160 0a05c6ad8272890a60db7394d4f2d88a14184137 ChangeLog 1785 +SHA256 d0f013e18af1965e364d2d4eaa3129852e8f92ce56ed9c869ccaebe3dbabeb18 ChangeLog 1785 MISC metadata.xml 282 RMD160 539a53475b01291eadb86c8c53a0fbc02b4a34d4 SHA1 7f42dcea44641b8a77ab9644791344ec6ed6c327 SHA256 3c1785eb4ab63774ed3a6b1bddd602ef24cd6795f690bb3289d5a980bca06349 MD5 cf7436fe44a27481d1001082eb06326e metadata.xml 282 RMD160 539a53475b01291eadb86c8c53a0fbc02b4a34d4 metadata.xml 282 @@ -25,10 +27,6 @@ SHA256 3c1785eb4ab63774ed3a6b1bddd602ef24cd6795f690bb3289d5a980bca06349 metadata MD5 2ef0a41feb8be34beec568bf9fe062d6 files/digest-apbs-0.4.0 235 RMD160 0606ae9bd4d8f291be73e669911da24e3cc0c457 files/digest-apbs-0.4.0 235 SHA256 b0c6ba75ae65cac80987484dab6a0c0bb889d01b852c12dd7c4e59e6062f19f9 files/digest-apbs-0.4.0 235 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.4 (GNU/Linux) - -iD8DBQFFoCER5mJXAu5GbtIRAorcAJ9Mf/zBaBKgXlB+r6GJboKDB4IlaACdGnAe -HQHZQltenOSbiRPvyFjwgMM= -=ISMM ------END PGP SIGNATURE----- +MD5 2e793d5244707356fd7f9ff50ea767c5 files/digest-apbs-0.5.0 265 +RMD160 9aee8d28472d0c967b4eaf0b9db7b7a3c4c40d04 files/digest-apbs-0.5.0 265 +SHA256 dbab309772ba0dcaa2605863678f47c1db4575bb72fb20d31aa4ccee8a7e37ef files/digest-apbs-0.5.0 265 diff --git a/sci-chemistry/apbs/apbs-0.5.0.ebuild b/sci-chemistry/apbs/apbs-0.5.0.ebuild new file mode 100644 index 000000000000..8cc541e05a55 --- /dev/null +++ b/sci-chemistry/apbs/apbs-0.5.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-0.5.0.ebuild,v 1.1 2007/02/23 17:07:45 je_fro Exp $ + +inherit eutils fortran + +MY_P="${P}-source-2" +S="${WORKDIR}"/"${MY_P}" + +DESCRIPTION=" Software for evaluating the electrostatic properties of nanoscale biomolecular systems" +LICENSE="GPL-2" +HOMEPAGE="http://agave.wustl.edu/apbs/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +SLOT="0" +IUSE="blas mpi" +KEYWORDS="~ppc ~x86 ~amd64" + +DEPEND="blas? ( virtual/blas ) + sys-libs/readline + mpi? ( virtual/mpi )" + +FORTRAN="g77 gfortran" + +pkg_setup() { + # It is important that you use the same compiler to compile + # APBS that you used when compiling MPI. + fortran_pkg_setup +} + +src_unpack() { + unpack ${A} +} + +src_compile() { + + # use blas + use blas && local myconf="--with-blas=-lblas" + + use mpi && myconf="${myconf} --with-mpiinc=/usr/include" + + econf ${myconf} || die "configure failed" + + # build + make DESTDIR=${D} || die "make failed" +} + +src_install() { + + # install apbs binary + dobin bin/apbs || die "failed to install apbs binary" + + # remove useless files and install docs + find ./examples -name 'test.sh' -exec rm -f {} \; || \ + die "Failed to remove test.sh files" + find ./examples -name 'Makefile*' -exec rm -f {} \; || \ + die "Failed to remove Makefiles" + find ./tools -name 'Makefile*' -exec rm -f {} \; || \ + die "Failed to remove Makefiles" + + dohtml -r doc/index.html doc/programmer doc/tutorial \ + doc/user-guide doc/license || \ + die "Failed to install html docs" + + insinto /usr/share/doc/${PF}/examples + doins -r examples/* || \ + die "Failed to install examples" + + insinto /usr/share/${PF}/tools + doins -r tools/* || die "failed to install tools" + +} diff --git a/sci-chemistry/apbs/files/digest-apbs-0.5.0 b/sci-chemistry/apbs/files/digest-apbs-0.5.0 new file mode 100644 index 000000000000..00ed5b63f7dd --- /dev/null +++ b/sci-chemistry/apbs/files/digest-apbs-0.5.0 @@ -0,0 +1,3 @@ +MD5 80b201d182536cb5f914a23fca4a4732 apbs-0.5.0-source-2.tar.gz 10171621 +RMD160 31a00f89052cc32d0fdf3272c214f2145ac62067 apbs-0.5.0-source-2.tar.gz 10171621 +SHA256 5f99cc6141d34800cf9e93e0e23215b3f740f6e208318698e7011602e1630a08 apbs-0.5.0-source-2.tar.gz 10171621 -- 2.26.2