diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2008-07-08 06:43:37 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2008-07-08 06:43:37 +0000 |
commit | 419a4159bd2babfa24b48562b0c83f07dadab3a7 (patch) | |
tree | df6d924540040509f49d8c975446c7f9ba71e526 /sci-chemistry | |
parent | Fix minor syntax errors. (diff) | |
download | historical-419a4159bd2babfa24b48562b0c83f07dadab3a7.tar.gz historical-419a4159bd2babfa24b48562b0c83f07dadab3a7.tar.bz2 historical-419a4159bd2babfa24b48562b0c83f07dadab3a7.zip |
Bump. Pull in newer libf2c so configure doesn't fail.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.26-rc8 x86_64
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/mopac7/ChangeLog | 9 | ||||
-rw-r--r-- | sci-chemistry/mopac7/Manifest | 14 | ||||
-rw-r--r-- | sci-chemistry/mopac7/mopac7-1.13.ebuild | 54 |
3 files changed, 74 insertions, 3 deletions
diff --git a/sci-chemistry/mopac7/ChangeLog b/sci-chemistry/mopac7/ChangeLog index 6cc63280ba7b..1aa519e2bc49 100644 --- a/sci-chemistry/mopac7/ChangeLog +++ b/sci-chemistry/mopac7/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-chemistry/mopac7 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mopac7/ChangeLog,v 1.14 2007/01/07 02:21:42 kugelfang Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mopac7/ChangeLog,v 1.15 2008/07/08 06:43:37 dberkholz Exp $ + +*mopac7-1.13 (08 Jul 2008) + + 08 Jul 2008; Donnie Berkholz <dberkholz@gentoo.org>; +mopac7-1.13.ebuild: + Bump. Pull in newer libf2c so configure doesn't fail. 07 Jan 2007; Danny van Dyk <kugelfang@gentoo.org> -mopac7-1.00-r1.ebuild, -mopac7-1.10.ebuild: diff --git a/sci-chemistry/mopac7/Manifest b/sci-chemistry/mopac7/Manifest index 06d0172dfbb6..423394d1f3e3 100644 --- a/sci-chemistry/mopac7/Manifest +++ b/sci-chemistry/mopac7/Manifest @@ -1,4 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST mopac7-1.10.tgz 1596446 RMD160 19c6c97c91d3762269e8add5b2c43c9473efcf90 SHA1 42889de7ac0385a65f87ca4e423a2d2858ce615a SHA256 993ace860c77345d1c8629f416bfc765610b9f264e9885b3777f44b745817ab5 +DIST mopac7-1.13.tar.gz 1178475 RMD160 a184566974acb315d84d85f9f28d23960053f4b1 SHA1 80d2db82172a816fd9984c45b356cd9dd9cad15f SHA256 74db30ae48e848ca9be145c24b2fa1f393e944b415e1eb3ad7c8e66199172ff8 EBUILD mopac7-1.10-r1.ebuild 1558 RMD160 fe4628df7db86945db65637ae0829fb658e949b2 SHA1 40a92c5e209ed45c80cf6498e664e6dfb39898e6 SHA256 2b1caa1297c9e2b401fef0bcf41b6293c90c8861e2c57cb5ab5ca1a566e658d5 -MISC ChangeLog 2268 RMD160 ad6a5b94e8ab1b83d04b61c10ae29e68c23a80dc SHA1 f2923dcd66436d2e80f7aa5ce4d508c8cac8e3d4 SHA256 4d0306e021f0903789eced67c1fbce5e3a2d8a8dc2a32d117e482e43fe0004be +EBUILD mopac7-1.13.ebuild 1650 RMD160 ddc4a5836673492b94c0435dcba22bae9d4512e7 SHA1 2b4e49abcc0aeaf945f81367144b958d466cee0d SHA256 1f41349a4657b54166e9a73adf8ccf03c233b9ccc2e6e8fd2262e54ed5153b42 +MISC ChangeLog 2429 RMD160 95375d28dc3d42726232996ee4b1364c6c3afd28 SHA1 d623f167d7a8689f5ce145c2087f6c1857f99789 SHA256 c1042d991d4bba975a39495e2a2d351ce94f37061b7bd5c3ecb92ff1597981d9 MISC metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 SHA1 cb0b513473c0348f4f6f6cd9a132e4884155fddb SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkhzDJ0ACgkQXVaO67S1rtt1cQCg+Q5+FGjLot4z7gN/LnF4TA+S +6X0Anjtxup+MLgDrQTZYn93eEJlJa0R5 +=dceb +-----END PGP SIGNATURE----- diff --git a/sci-chemistry/mopac7/mopac7-1.13.ebuild b/sci-chemistry/mopac7/mopac7-1.13.ebuild new file mode 100644 index 000000000000..e84f05521093 --- /dev/null +++ b/sci-chemistry/mopac7/mopac7-1.13.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mopac7/mopac7-1.13.ebuild,v 1.1 2008/07/08 06:43:37 dberkholz Exp $ + +WANT_AUTOMAKE="1.8" +WANT_AUTOCONF="latest" + +inherit autotools + +DESCRIPTION="Autotooled, updated version of a powerful, fast semi-empirical package" +HOMEPAGE="http://sourceforge.net/projects/mopac7/" +#SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" +SRC_URI="http://www.bioinformatics.org/ghemical/download/current/${P}.tar.gz" +LICENSE="mopac7" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +RDEPEND=">=dev-libs/libf2c-20070912" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Install the executable + sed -i \ + -e "s:noinst_PROGRAMS = mopac7:bin_PROGRAMS = mopac7:g" \ + src/Makefile.am \ + || die "sed failed: install mopac7" + # Install the script to run the executable + sed -i \ + -e "s:EXTRA_DIST = run_mopac7:if HAVE_F2C\nbin_SCRIPTS = run_mopac7\nendif:g" \ + Makefile.am \ + || die "sed failed: install run_mopac7" + + # Fix parallel build by adding internal dependency on libmopac7.la from + # executable + sed -i \ + -e "s:mopac7_LDFLAGS = -lmopac7 -lf2c -lm:mopac7_LDFLAGS = -lf2c -lm:g" \ + -e "s:\(mopac7_LDFLAGS.*\):\1\nmopac7_LDADD = libmopac7.la:g" \ + src/Makefile.am \ + || die "sed failed: fix dependencies" + + eautoreconf +} + +src_install() { + # A correct fix would have a run_mopac7.in with @bindir@ that gets + # replaced by configure, and run_mopac7 added to AC_OUTPUT in configure.ac + sed -i "s:./src/mopac7:mopac7:g" run_mopac7 + + make DESTDIR="${D}" install || die + dodoc AUTHORS README ChangeLog +} |