summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-06-16 11:52:09 +0000
committerJustin Lecher <jlec@gentoo.org>2010-06-16 11:52:09 +0000
commit8d5c1ae844db4db8f83f62d290e9284261d3440c (patch)
tree5ef43a07c8693bb18abc8c768013d997e658a1d3 /sci-chemistry/tinker
parentVersion bump. Added examples use flag. Fixes bug #317447 (diff)
downloadhistorical-8d5c1ae844db4db8f83f62d290e9284261d3440c.tar.gz
historical-8d5c1ae844db4db8f83f62d290e9284261d3440c.tar.bz2
historical-8d5c1ae844db4db8f83f62d290e9284261d3440c.zip
Version Bump, #322929
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry/tinker')
-rw-r--r--sci-chemistry/tinker/ChangeLog9
-rw-r--r--sci-chemistry/tinker/Manifest18
-rw-r--r--sci-chemistry/tinker/tinker-5.1.05.ebuild55
-rw-r--r--sci-chemistry/tinker/tinker-5.1.08.ebuild76
-rw-r--r--sci-chemistry/tinker/tinker-6.0.ebuild82
5 files changed, 181 insertions, 59 deletions
diff --git a/sci-chemistry/tinker/ChangeLog b/sci-chemistry/tinker/ChangeLog
index 3550beb5ee97..e62b2bf095fe 100644
--- a/sci-chemistry/tinker/ChangeLog
+++ b/sci-chemistry/tinker/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-chemistry/tinker
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/ChangeLog,v 1.21 2010/04/09 13:33:24 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/ChangeLog,v 1.22 2010/06/16 11:52:09 jlec Exp $
+
+*tinker-6.0 (16 Jun 2010)
+*tinker-5.1.08 (16 Jun 2010)
+
+ 16 Jun 2010; Justin Lecher <jlec@gentoo.org> -tinker-5.1.05.ebuild,
+ +tinker-5.1.08.ebuild, +tinker-6.0.ebuild:
+ Version Bump, #322929
09 Apr 2010; Justin Lecher <jlec@gentoo.org> tinker-5.1.05.ebuild:
Blocking dev-util/diffuse per 314129 & 279018
diff --git a/sci-chemistry/tinker/Manifest b/sci-chemistry/tinker/Manifest
index 230e1d1ed364..3ff72cfba588 100644
--- a/sci-chemistry/tinker/Manifest
+++ b/sci-chemistry/tinker/Manifest
@@ -1,4 +1,16 @@
-DIST tinker-5.1.05.tar.gz 12999786 RMD160 92fca12d0e4c8dc5bd8c85724be06e0c42eaf14f SHA1 d59fd48e81ff858270bde98c20e38103950d1305 SHA256 68f4748ed8808747b8cc9655c571afc592c663bdaeca9bd68d949d8245be9967
-EBUILD tinker-5.1.05.ebuild 1237 RMD160 33299ee4fa9ea2f879b5dacb9b5869991091b79b SHA1 2b6201e03bfaab1e2dfe6286b7070cff48342210 SHA256 5576ce0c643b18a1b5e268d683a00a1e00c0d82dcd2b794b6330849998042867
-MISC ChangeLog 3332 RMD160 9250d167c238fd0c6481c218084bd341fa93104b SHA1 8c345ece7167afec95de2737b67399dfb7e64c58 SHA256 d6990ca7f563d38cd32d6da7f564f604632e9e9ac4a450e3526a66db9988fcb9
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST tinker-5.1.08.tar.gz 13008711 RMD160 0bb5837ad50ee35c7b23f7061d51295d53a83a86 SHA1 e94852663c7f0896d3c7aa58d3de7b760d61ff4d SHA256 8f75ac400a720ae718841143240fddc12a8d0f7e10839d6d6df2ab9ea9de5655
+DIST tinker-6.0.tar.gz 18171344 RMD160 45143abcd9e94846027d74b5c2a1dde25e4143ad SHA1 c1209e2076bea75a9201168f57b6b53710a5397b SHA256 33269db000dd25fe8a059bfd9bd2bc8e51e4b34ae568bd4da7ee8c355e042029
+EBUILD tinker-5.1.08.ebuild 1870 RMD160 ccf02f14ce0bae03003c685234d54599fcce9f19 SHA1 ae2f8a12cccf7f594deadb08347bd1d1acd7b26e SHA256 8c493a4023f6e6ff67c2036fb5cfd2f8ea1121365d47a485aa45b8e8f515ebb8
+EBUILD tinker-6.0.ebuild 1873 RMD160 a4bba3699c0930667be7da28e67e21f6f32cbbeb SHA1 b7c7b940129f3f7bcd14fd5d63191ce13d00bd03 SHA256 316527e20b878d95249919a1d71dccb15324ef4f3e65490db37ca966227fc324
+MISC ChangeLog 3528 RMD160 507de8a39920f8c66fed1a9e19a6b55752649a67 SHA1 30f38c8ef3aebeda02a3e7626585d5f5757a9a9c SHA256 228da2804e9e8f00ed7003050080da0ff39f29becc8f5a01a0322f3ff9d97a73
MISC metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 SHA1 cb0b513473c0348f4f6f6cd9a132e4884155fddb SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.15 (GNU/Linux)
+
+iEYEARECAAYFAkwYuu8ACgkQgAnW8HDreRZWUwCgxzvsY/4JyVRq4z3mvrTYbMcH
+sOAAoKkXvtuywBqy9ShCaqqsKdm+fyZ/
+=wJpO
+-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/tinker/tinker-5.1.05.ebuild b/sci-chemistry/tinker/tinker-5.1.05.ebuild
deleted file mode 100644
index cc841219aaa1..000000000000
--- a/sci-chemistry/tinker/tinker-5.1.05.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/tinker-5.1.05.ebuild,v 1.3 2010/04/10 12:10:02 arfrever Exp $
-
-EAPI="2"
-FORTRAN="gfortran ifc"
-
-inherit fortran
-
-DESCRIPTION="Molecular modeling package that includes force fields, such as AMBER and CHARMM."
-HOMEPAGE="http://dasher.wustl.edu/tinker/"
-SRC_URI="http://dasher.wustl.edu/tinker/downloads/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="Tinker"
-KEYWORDS="~amd64 ~x86 ~x86-linux"
-IUSE=""
-
-# RDEPEND="dev-java/j3d-core"
-RDEPEND="!dev-util/diffuse"
-RESTRICT="mirror"
-
-S="${WORKDIR}"/tinker/source
-
-src_compile() {
- emake \
- -f ../make/Makefile \
- F77="${FORTRANC}" \
- F77FLAGS=-c \
- OPTFLAGS="${FFLAGS}" \
- LINKFLAGS="${LDFLAGS}" \
- || die
-}
-
-src_install() {
- dodoc \
- "${WORKDIR}"/tinker/doc/{*.txt,announce/release-*,*.pdf,0README} || die
-
- dolib.a libtinker.a || die
-
- for EXE in *.x; do
- newbin ${EXE} ${EXE%.x} || die
- done
-
- docinto example
- dodoc "${WORKDIR}"/tinker/example/* || die
-
- docinto test
- dodoc "${WORKDIR}"/tinker/test/* || die
-
- dobin "${WORKDIR}"/tinker/perl/mdavg || die
-
- insinto /usr/share/tinker/params
- doins "${WORKDIR}"/tinker/params/* || die
-}
diff --git a/sci-chemistry/tinker/tinker-5.1.08.ebuild b/sci-chemistry/tinker/tinker-5.1.08.ebuild
new file mode 100644
index 000000000000..b93bc4dcab6d
--- /dev/null
+++ b/sci-chemistry/tinker/tinker-5.1.08.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/tinker-5.1.08.ebuild,v 1.1 2010/06/16 11:52:09 jlec Exp $
+
+EAPI="2"
+FORTRAN="gfortran ifc"
+
+inherit fortran java-pkg-opt-2 toolchain-funcs
+
+DESCRIPTION="Molecular modeling package that includes force fields, such as AMBER and CHARMM."
+HOMEPAGE="http://dasher.wustl.edu/tinker/"
+SRC_URI="http://dasher.wustl.edu/${PN}/downloads/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Tinker"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+# RDEPEND="dev-java/j3d-core"
+DEPEND=">=virtual/jdk-1.6"
+RDEPEND="
+ !dev-util/diffuse
+ >=virtual/jre-1.6"
+RESTRICT="mirror"
+
+S="${WORKDIR}"/tinker/source
+
+pkg_setup() {
+ fortran_pkg_setup
+ java-pkg-opt-2_pkg_setup
+}
+src_compile() {
+ local javalib=
+ for i in $(java-config -g LDPATH | sed 's|:| |g'); do
+ [[ -f ${i}/libjvm.so ]] && javalib=${i}
+ done
+ emake \
+ -f ../make/Makefile \
+ F77="${FORTRANC}" \
+ CC="$(tc-getCC) -c" \
+ F77FLAGS=-c \
+ OPTFLAGS="${FFLAGS}" \
+ LINKFLAGS="${LDFLAGS} -Wl,-rpath ${javalib}" \
+ INCLUDEDIR="$(java-pkg_get-jni-cflags) -I${EPREFIX}/usr/include" \
+ LIBS="$(pkg-config --libs apbs) -lmaloc -L${javalib} -ljvm" \
+ || die
+ mkdir "${S}"/../bin || die
+ emake \
+ -f ../make/Makefile \
+ BINDIR="${S}"/../bin \
+ rename || die
+}
+src_test() {
+ cd "${WORKDIR}"/tinker/test/
+ for test in *.run; do
+ einfo "Testing ${test} ..."
+ bash ${test} || die
+ done
+}
+
+src_install() {
+ dobin "${WORKDIR}"/${PN}/perl/mdavg "${WORKDIR}"/${PN}/bin/* || die
+
+ insinto /usr/share/${PN}/
+ doins -r "${WORKDIR}"/${PN}/params || die
+
+ dodoc \
+ "${WORKDIR}"/${PN}/doc/{*.txt,announce/release-*,*.pdf,0README} || die
+ if use examples; then
+ insinto /usr/share/${P}
+ doins -r "${WORKDIR}"/${PN}/example || die
+
+ doins -r "${WORKDIR}"/${PN}/test || die
+ fi
+
+}
diff --git a/sci-chemistry/tinker/tinker-6.0.ebuild b/sci-chemistry/tinker/tinker-6.0.ebuild
new file mode 100644
index 000000000000..ecd132154d1d
--- /dev/null
+++ b/sci-chemistry/tinker/tinker-6.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/tinker-6.0.ebuild,v 1.1 2010/06/16 11:52:09 jlec Exp $
+
+EAPI="2"
+FORTRAN="gfortran ifc"
+
+inherit fortran java-pkg-opt-2 toolchain-funcs
+
+DESCRIPTION="Molecular modeling package that includes force fields, such as AMBER and CHARMM."
+HOMEPAGE="http://dasher.wustl.edu/tinker/"
+SRC_URI="http://dasher.wustl.edu/${PN}/downloads/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Tinker"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+# RDEPEND="dev-java/j3d-core"
+DEPEND=">=virtual/jdk-1.6"
+RDEPEND="
+ !dev-util/diffuse
+ >=virtual/jre-1.6"
+RESTRICT="mirror"
+
+S="${WORKDIR}"/tinker/source
+
+pkg_setup() {
+ fortran_pkg_setup
+ java-pkg-opt-2_pkg_setup
+}
+
+src_compile() {
+ local javalib=
+ for i in $(java-config -g LDPATH | sed 's|:| |g'); do
+ [[ -f ${i}/libjvm.so ]] && javalib=${i}
+ done
+
+ emake \
+ -f ../make/Makefile \
+ F77="${FORTRANC}" \
+ CC="$(tc-getCC) -c" \
+ F77FLAGS=-c \
+ OPTFLAGS="${FFLAGS}" \
+ LINKFLAGS="${LDFLAGS} -Wl,-rpath ${javalib}" \
+ INCLUDEDIR="$(java-pkg_get-jni-cflags) -I${EPREFIX}/usr/include" \
+ LIBS="$(pkg-config --libs apbs) -lmaloc -L${javalib} -ljvm" \
+ || die
+
+ mkdir "${S}"/../bin || die
+
+ emake \
+ -f ../make/Makefile \
+ BINDIR="${S}"/../bin \
+ rename || die
+}
+
+src_test() {
+ cd "${WORKDIR}"/tinker/test/
+ for test in *.run; do
+ einfo "Testing ${test} ..."
+ bash ${test} || die
+ done
+}
+
+src_install() {
+ dobin "${WORKDIR}"/${PN}/perl/mdavg "${WORKDIR}"/${PN}/bin/* || die
+
+ insinto /usr/share/${PN}/
+ doins -r "${WORKDIR}"/${PN}/params || die
+
+ dodoc \
+ "${WORKDIR}"/${PN}/doc/{*.txt,announce/release-*,*.pdf,0README} || die
+
+ if use examples; then
+ insinto /usr/share/${P}
+ doins -r "${WORKDIR}"/${PN}/example || die
+
+ doins -r "${WORKDIR}"/${PN}/test || die
+ fi
+
+}