diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2009-03-02 10:37:43 -0800 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2009-03-02 10:37:43 -0800 |
commit | c7333afb83cbe53b72b40a3f1de9aa70299bb606 (patch) | |
tree | 7aac87ec13821789aea59c622f472bd6366e10ca | |
parent | ccp4-related things moved to the science overlay. (diff) | |
download | dberkholz-c7333afb83cbe53b72b40a3f1de9aa70299bb606.tar.gz dberkholz-c7333afb83cbe53b72b40a3f1de9aa70299bb606.tar.bz2 dberkholz-c7333afb83cbe53b72b40a3f1de9aa70299bb606.zip |
solve-resolve-bin: add from bug #209122.
-rw-r--r-- | sci-chemistry/solve-resolve-bin/Manifest | 3 | ||||
-rw-r--r-- | sci-chemistry/solve-resolve-bin/solve-resolve-bin-2.13.ebuild | 61 |
2 files changed, 64 insertions, 0 deletions
diff --git a/sci-chemistry/solve-resolve-bin/Manifest b/sci-chemistry/solve-resolve-bin/Manifest new file mode 100644 index 0000000..0927cb0 --- /dev/null +++ b/sci-chemistry/solve-resolve-bin/Manifest @@ -0,0 +1,3 @@ +DIST solve-2.13-linux-64.tar.gz 74444830 RMD160 0da15aa19b37186479d72c6ce57f401aeb2a4344 SHA1 f0ef948ef1fddec2d80e2612553608fc1be676a3 SHA256 e03250bb550686fc6e5f59d4e885b83b88cd342dfb4975eb31ddf95d9515650e +DIST solve-2.13-linux.tar.gz 71902534 RMD160 510e67345dd3517c479719c3ea93696f0210f508 SHA1 1acc33b5b6119ac82cf6bb4e0958ebbbc74c5d14 SHA256 975466fe92d8f6256de20ea0b5101876f3e5a7e3093199946c9f4824236c79d3 +EBUILD solve-resolve-bin-2.13.ebuild 1826 RMD160 9b9523199d6120f0e679397fabad5f228f518a47 SHA1 b0be6c7be94cf0655722fb6b9f58f05ba82eaaae SHA256 270dfcccee487d7b531f175c7dac1de2d7692121d3064075c5fe805b5afc0c6f diff --git a/sci-chemistry/solve-resolve-bin/solve-resolve-bin-2.13.ebuild b/sci-chemistry/solve-resolve-bin/solve-resolve-bin-2.13.ebuild new file mode 100644 index 0000000..59372e4 --- /dev/null +++ b/sci-chemistry/solve-resolve-bin/solve-resolve-bin-2.13.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +SLOT="0" +LICENSE="solve" +KEYWORDS="-* ~x86 ~amd64" +DESCRIPTION="Automated crystallographic structure solution for MIR, SAD, and MAD" +SRC_URI="x86? ( http://solve.lanl.gov/pub/solve/${PV}/solve-${PV}-linux.tar.gz ) + amd64? ( http://solve.lanl.gov/pub/solve/${PV}/solve-${PV}-linux-64.tar.gz )" +HOMEPAGE="http://www.solve.lanl.gov/index.html" +IUSE="" +RESTRICT="mirror" + +src_install(){ + IN_PATH=/opt/solve-resolve/ + exeinto ${IN_PATH}bin/ + doexe solve-2.13/bin/* + cd "${WORKDIR}" +# exeinto ${IN_PATH}lib/ +# doexe solve-2.13/lib/{*sym,sym*,hist*,*dat} +# exeinto ${IN_PATH}lib/segments +# doexe solve-2.13/lib/segments/* +# exeinto ${IN_PATH}lib/patterns +# doexe solve-2.13/lib/patterns/* + insinto ${IN_PATH}lib/ + doins solve-2.13/lib/{*sym,sym*,hist*,*dat} + insinto ${IN_PATH}lib/segments + doins solve-2.13/lib/segments/* + insinto ${IN_PATH}lib/patterns + doins solve-2.13/lib/patterns/* + + dohtml -r solve-2.13/lib/html/* + sed -i 's:/usr/local/lib/solve/:/opt/solve-resolve/lib/:' \ + solve-2.13/lib/examples_solve/p9/solve* + sed -i 's:/usr/local/lib/resolve/:/opt/solve-resolve/lib/:' \ + solve-2.13/lib/examples_resolve/{resolve.csh,prime_and_switch.csh} + insinto /usr/share/${PF}/examples_resolve + doins solve-2.13/lib/examples_resolve/* + insinto /usr/share/${PF}/examples_solve + doins -r solve-2.13/lib/examples_solve/* + + + cat >> "${T}"/20solve-resolve <<- EOF + CCP4_OPEN="UNKNOWN" + SYMOP="${IN_PATH}lib/symop.lib" + SYMINFO="${IN_PATH}lib/syminfo.lib" + SOLVEDIR="${IN_PATH}lib/" + PATH="${IN_PATH}bin" + EOF + + doenvd "${T}"/20solve-resolve +} +pkg_postinst(){ + einfo "Get a valid license key from" + einfo "http://solve.lanl.gov/license.html" + einfo "and place it in" + einfo "${IN_PATH}lib/" +}
\ No newline at end of file |