diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-02-06 11:39:53 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-02-06 11:39:53 +0000 |
commit | b1486461feb03f4abf0556666f99318e165fec04 (patch) | |
tree | 91971dcd370417de90ac71a3e95253ec366ecfeb /sci-chemistry/oasis | |
parent | Stable on amd64 wrt bug #303247 (diff) | |
download | historical-b1486461feb03f4abf0556666f99318e165fec04.tar.gz historical-b1486461feb03f4abf0556666f99318e165fec04.tar.bz2 historical-b1486461feb03f4abf0556666f99318e165fec04.zip |
Splitted oasis from ccp4
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry/oasis')
-rw-r--r-- | sci-chemistry/oasis/ChangeLog | 10 | ||||
-rw-r--r-- | sci-chemistry/oasis/Manifest | 15 | ||||
-rw-r--r-- | sci-chemistry/oasis/files/4.0-makefile.patch | 15 | ||||
-rw-r--r-- | sci-chemistry/oasis/metadata.xml | 11 | ||||
-rw-r--r-- | sci-chemistry/oasis/oasis-4.0.ebuild | 66 |
5 files changed, 117 insertions, 0 deletions
diff --git a/sci-chemistry/oasis/ChangeLog b/sci-chemistry/oasis/ChangeLog new file mode 100644 index 000000000000..8843b4c37fb1 --- /dev/null +++ b/sci-chemistry/oasis/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-chemistry/oasis +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/oasis/ChangeLog,v 1.1 2010/02/06 11:39:53 jlec Exp $ + +*oasis-4.0 (06 Feb 2010) + + 06 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org> + +files/4.0-makefile.patch, +oasis-4.0.ebuild, +metadata.xml: + updated version for oasis from ccp4 + diff --git a/sci-chemistry/oasis/Manifest b/sci-chemistry/oasis/Manifest new file mode 100644 index 000000000000..998e005ce6c4 --- /dev/null +++ b/sci-chemistry/oasis/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 4.0-makefile.patch 1277 RMD160 8c5a9c6feec0bbb1e80f4a1a48fd016ffc3ad77f SHA1 6d0a3503f650cafe67d5d5b1a7c0561de20c90b5 SHA256 4bafff2ae7e58a908d7203e56643122f56c0cc0ebca8a103f2ca73fefa5986ce +DIST oasis4.0_Linux.zip 6714528 RMD160 9d5b46e06ab6b2e7e301622978056bf7b4208a79 SHA1 fab2e4556ad04556f918bae153e13a843415f0c9 SHA256 56da70ce0c2750aaddf64ad2cd7852fc341d2022209484beb356b4e73dec61ba +EBUILD oasis-4.0.ebuild 1462 RMD160 8b0f5a6644445c83411ac7341e8fbc80144372e3 SHA1 d8524cf21f2d0773c0abdf076feda23c83377579 SHA256 db4223966a171cccb06e1ae88f11f70770389b57a17650a7ca941f5859dd37b1 +MISC ChangeLog 391 RMD160 959e04c4704fa01eccd4b06197184b4f818f3942 SHA1 4fdbfa43c5289c5924b11b0c76d05567da67d061 SHA256 10954f2988ca0f347bf6f243a0112e590152df5c192c03ff9011dd084510fdf7 +MISC metadata.xml 298 RMD160 a811ceba16c1dfc0bf5cd95aac1fbeda93a01140 SHA1 5da5e120e5cb3ade8f5b3f4d6c2521dbe49dc2ee SHA256 47989b12cffa652d3b2fca1b8a9ad02f4e258df562fabc458dc9782f3789a8d0 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAkttVQ8ACgkQgAnW8HDreRaIwACdER+HdsewZP/sv2tNumn80Mt9 +5t4An00xJ4X9N7XHfQyXyDynW89LFBSu +=QYvR +-----END PGP SIGNATURE----- diff --git a/sci-chemistry/oasis/files/4.0-makefile.patch b/sci-chemistry/oasis/files/4.0-makefile.patch new file mode 100644 index 000000000000..f27a350a1fd2 --- /dev/null +++ b/sci-chemistry/oasis/files/4.0-makefile.patch @@ -0,0 +1,15 @@ +diff --git a/src/Makefile b/src/Makefile +index 1e9128f..eb9edaf 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -20,8 +20,8 @@ IRIX: + @ ${F77} -O2 -mips3 -nocpp -OPT:Olimit=1500 -w -rpath ${CCP4_LIB} -o oasis4-0 oasis4-0.f -L${CCP4_LIB}/src -lccp4f -lccp4c -lmmdb -lC -lm -L/usr/lib32 -lblas + @ ${F77} -O2 -mips3 -nocpp -OPT:Olimit=1500 -w -rpath ${CCP4_LIB} -o fnp2fp fnp2fp.f -L${CCP4_LIB}/src -lccp4f -lccp4c -lmmdb -lC -lm -L/usr/lib32 -lblas + Linux: +- @ ${F77} -O -w -fno-second-underscore -fno-globals -fno-automatic -o oasis4-0 oasis4-0.f -L${CCP4_LIB} -lccp4f -lccp4c -lmmdb -lstdc++ -lg2c -lm -L${CCP4_LIB} +- @ ${F77} -O -w -fno-second-underscore -fno-globals -fno-automatic -o fnp2fp fnp2fp.f -L${CCP4_LIB} -lccp4f -lccp4c -lmmdb -lstdc++ -lg2c -lm -L${CCP4_LIB} ++ ${F77} $(CFLAGS) $(LDFLAGS) -o oasis oasis4-0.f -L${CCP4_LIB} -lccp4f -lccp4c -lmmdb -lstdc++ -lm -L${CCP4_LIB} ++ ${F77} $(CFLAGS) $(LDFLAGS) -o fnp2fp fnp2fp.f -L${CCP4_LIB} -lccp4f -lccp4c -lmmdb -lstdc++ -lm -L${CCP4_LIB} + Darwin: + @ ${F77} -O2 -fno-second-underscore -o fnp2fp fnp2fp.f -L${CCP4_LIB} -lccp4f -lccp4c -lmmdb -lstdc++ -lgcc_s.10.5 -lSystem -lm + @ ${F77} -O2 -fno-second-underscore -o oasis4-0 oasis4-0.f -L${CCP4_LIB} -lccp4f -lccp4c -lmmdb -lstdc++ -lgcc_s.10.5 -lSystem -lm diff --git a/sci-chemistry/oasis/metadata.xml b/sci-chemistry/oasis/metadata.xml new file mode 100644 index 000000000000..dc88510361c1 --- /dev/null +++ b/sci-chemistry/oasis/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> + <email>sci@gentoo.org</email> +</maintainer> +<use> + <flag name='minimal'>Restricts functionality on free software</flag> +</use> +</pkgmetadata> diff --git a/sci-chemistry/oasis/oasis-4.0.ebuild b/sci-chemistry/oasis/oasis-4.0.ebuild new file mode 100644 index 000000000000..12e33174f330 --- /dev/null +++ b/sci-chemistry/oasis/oasis-4.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/oasis/oasis-4.0.ebuild,v 1.1 2010/02/06 11:39:53 jlec Exp $ + +EAPI="2" + +inherit eutils multilib toolchain-funcs + +MY_P="${PN}${PV}_Linux" + +DESCRIPTION="A direct-method program for SAD/SIR phasing" +HOMEPAGE="http://cryst.iphy.ac.cn/Project/protein/protein-I.html" +SRC_URI="http://dev.gentooexperimental.org/~jlec/distfiles/${MY_P}.zip" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="ccp4 oasis" +IUSE="examples +minimal" + +RDEPEND=" + sci-chemistry/ccp4-apps + sci-chemistry/pymol + sci-libs/ccp4-libs + sci-libs/mmdb + sci-visualization/gnuplot + !minimal? ( + sci-chemistry/solve-resolve-bin + sci-chemistry/arp-warp-bin )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + rm bin/{fnp2fp,gnuplot,oasis4-0,seq} || die + epatch "${FILESDIR}"/${PV}-makefile.patch +} + +src_compile() { + emake \ + -C src \ + F77="$(tc-getFC)" \ + CCP4_LIB="${EPREFIX}/usr/$(get_libdir)" \ + Linux || die +} + +src_install() { + dobin src/{${PN},fnp2fp} || die + + exeinto /usr/$(get_libdir)/${PN} + doexe bin/*.*sh || die + + insinto /usr/$(get_libdir)/${PN}/html + doins bin/html/* || die + fperms 755 /usr/$(get_libdir)/${PN}/html/*.{csh,awk} || die + + if use examples; then + insinto /usr/share/${PN} + doins -r examples || die + fi + + cat >> "${T}"/25oasis <<- EOF + oasisbin="${EPREFIX}/usr/$(get_libdir)/${PN}" + EOF + + doenvd "${T}"/25oasis +} |