diff options
Diffstat (limited to 'sci-chemistry/probe')
-rw-r--r-- | sci-chemistry/probe/Manifest | 7 | ||||
-rw-r--r-- | sci-chemistry/probe/files/as-needed.patch | 21 | ||||
-rw-r--r-- | sci-chemistry/probe/files/probe-2.13.110909-as-needed.patch | 25 | ||||
-rw-r--r-- | sci-chemistry/probe/metadata.xml | 8 | ||||
-rw-r--r-- | sci-chemistry/probe/probe-2.13.110909.ebuild | 33 |
5 files changed, 94 insertions, 0 deletions
diff --git a/sci-chemistry/probe/Manifest b/sci-chemistry/probe/Manifest new file mode 100644 index 000000000000..bbbe5ae5a1ed --- /dev/null +++ b/sci-chemistry/probe/Manifest @@ -0,0 +1,7 @@ +AUX as-needed.patch 594 SHA256 1f46ff455ac4167fe56051fa2fb8859ee5c504429b70abb787ccf8a480fb7065 SHA512 6478862bc967614e8fc57abaa03b92f62943508ae77710b179bb71ae96d21c289b4f2836d76236297ba66ed97954997f4e6c8874f369af03200bf13e5226f8c9 WHIRLPOOL 74f203b062ac5ee744f0f0798644b5b82d72c2e7427c418b6889d3d9f1ed06b1b03030883d0a60df81d218dd4f26e7f993ce4572aeee562c9feb30721abdb326 +AUX probe-2.13.110909-as-needed.patch 634 SHA256 d40ce6144d7e5bd075ae2aace729fce2f44d3412d063300cb50e8428f00faf7f SHA512 24b291cffbc00588626ac9da3e38e9bbb9a9ba121a3ae74fa5e91c94cd30489d61a559351d5a4b89ebb4c1564be30144d1eec295032ed612fa6e80d47d9ba8a6 WHIRLPOOL 2b13f34271064911755e3d13276856d3fe016d6a53c8dd5aac516c7b1afc44abcd0062ee89e086ae4734f201b6c86c43e0b893e599b6aafa0d674a2a6b34dba1 +DIST probe.2.13.110909.src.zip 131063 SHA256 df14b76d27a7c43b2b57c315d0ad71cdf6acc7943c43195a797162be7816fa71 SHA512 5efa066873d0e139da66bf8edb541fe42df94e99cab171ad8d06a8a6f5caada982ef5b18481e748b224dbed86f63c99237d04ecd107c82855b44de91fb6d2b16 WHIRLPOOL 12f6fefe1b03b71268f39fa3aa7ad796230c76c2e029b8dc86955abd43c8e3f09f7591f84cd79c7ba11037d5b323c922ddf36abf6911d556981f5cc21378912f +EBUILD probe-2.13.110909.ebuild 705 SHA256 bb5b52f7ebf6801681e87c2257b1e69a5c8eb25538126cada8ae67e97b198596 SHA512 525ecf8ed9db9b5c99f618c3186bd54f1b99d3c97f6c05c48d51a8a8e672b41d548c62d9468f05c95794bb71fbd9f49f24e9c21686dc48414211600b1f5256ce WHIRLPOOL 23839f2b8217096f389802b97122d7e805f0d5358db10e91b3823190b0345c1be2c95a3b94fea9d0258f291940f85510a64f12f156ddcfd59a74273c1059cf27 +MISC ChangeLog 3256 SHA256 5be84b575f19f3369e083148359921347046f9f921254a573dde57321d49ccc4 SHA512 1962c22bbe3a4e18e3169ea0463c7c922ff58041fedc6dc89ad94d164ab05cb94fdf72f5ffbec4e4f26af5f94b948d76901593014c34e4ea3c0258b901e84e69 WHIRLPOOL 65f58ebf51e0cee8db8382e227497aed4482e59f55d3340c2062f6524c713f1cd3b890a0def43bdd5a504d7adc15699717389be0220f971aca21410777d8d8c7 +MISC ChangeLog-2015 2976 SHA256 d27e5a84397bd92cafd131c60e40019019bdac705c081caaf7c6ce7676ab485d SHA512 7e75fe8f16d170f6c4587a4b4bedc42b88c752c7f88db02bdecddc7c27842af3987dac88e0bffeab59a8edc0d533178de207910f74d476a84dedba8cfa04c24f WHIRLPOOL 7bb1b0ec9f90b79c923f65b3c4befdd61f82124b689bf965e3e219378c17a431e299ed7b2ccd65717a55032bc47ca908cdde8a1a63c1b0f5a5603a20ca3cb3f7 +MISC metadata.xml 265 SHA256 88fc04c2e3102afd870cfa235e90f0a80b4ebbb032780d7501ff6c6b654c96a2 SHA512 470f6c178e88c4e83afa46d5e901a45fc2427a779ae832df7fa2d6e25e9e8b4ce77cd3a8fe191e6242d6df3b673f0de6b4f90f1e147aa8b8dd566f18163cc73a WHIRLPOOL ba08ab5455155b3c0c24ed2ec94129b3538b4be93069560166150ee59c57bb197c7b513c5a934e47c138aaf9bd34a4a3a8b63c815e34e2a5435af8056a09961d diff --git a/sci-chemistry/probe/files/as-needed.patch b/sci-chemistry/probe/files/as-needed.patch new file mode 100644 index 000000000000..9ddecf5f569e --- /dev/null +++ b/sci-chemistry/probe/files/as-needed.patch @@ -0,0 +1,21 @@ +diff --git a/Makefile b/Makefile +index 68d7469..bcb821c 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,6 @@ + MACHINEFLAGS = + CFLAGS = $(MACHINEFLAGS) +-LFLAGS = -lm $(MACHINEFLAGS) ++LFLAGS = -lm + OBJLIST = dots.o abin.o readPDBrecs.o geom3d.o utility.o select.o \ + parse.o atomprops.o stdconntable.o autobondrot.o hybrid_36_c.o + +@@ -8,7 +8,7 @@ OBJLIST = dots.o abin.o readPDBrecs.o geom3d.o utility.o select.o \ + cc -c $*.c $(CFLAGS) + + probe: probe.o $(OBJLIST) +- cc -o $@ probe.o $(OBJLIST) $(LFLAGS) ++ cc $(MACHINEFLAGS) -o $@ probe.o $(OBJLIST) $(LFLAGS) + + clean: + @rm -f *.o *.ckp diff --git a/sci-chemistry/probe/files/probe-2.13.110909-as-needed.patch b/sci-chemistry/probe/files/probe-2.13.110909-as-needed.patch new file mode 100644 index 000000000000..df7040c3ba1d --- /dev/null +++ b/sci-chemistry/probe/files/probe-2.13.110909-as-needed.patch @@ -0,0 +1,25 @@ + Makefile | 8 +++----- + 1 files changed, 3 insertions(+), 5 deletions(-) + +diff --git a/Makefile b/Makefile +index 9031bd0..8f74d6a 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,14 +1,12 @@ +-MACHINEFLAGS = +-CFLAGS = $(MACHINEFLAGS) +-LFLAGS = -static -lm $(MACHINEFLAGS) ++LIBS = -lm + OBJLIST = dots.o abin.o readPDBrecs.o geom3d.o utility.o select.o \ + parse.o atomprops.o stdconntable.o autobondrot.o hybrid_36_c.o + + .c.o: +- cc -c $*.c $(CFLAGS) ++ $(CC) $(CFLAGS) -c $*.c + + probe: probe.o $(OBJLIST) +- cc -o $@ probe.o $(OBJLIST) $(LFLAGS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ probe.o $(OBJLIST) $(LIBS) + + clean: + @rm -f *.o *.ckp diff --git a/sci-chemistry/probe/metadata.xml b/sci-chemistry/probe/metadata.xml new file mode 100644 index 000000000000..da36ecbfcd6a --- /dev/null +++ b/sci-chemistry/probe/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-chemistry@gentoo.org</email> + <name>Gentoo Chemistry Project</name> + </maintainer> +</pkgmetadata> diff --git a/sci-chemistry/probe/probe-2.13.110909.ebuild b/sci-chemistry/probe/probe-2.13.110909.ebuild new file mode 100644 index 000000000000..66b1ac8c56da --- /dev/null +++ b/sci-chemistry/probe/probe-2.13.110909.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs + +MY_P="${PN}.${PV}" + +DESCRIPTION="Evaluates atomic packing within or between molecules" +HOMEPAGE="http://kinemage.biochem.duke.edu/software/probe.php" +SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/probe/${MY_P}.src.zip" + +SLOT="0" +LICENSE="richardson" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}"/${MY_P}.src + +src_prepare() { + epatch "${FILESDIR}"/${P}-as-needed.patch + tc-export CC +} + +src_install() { + dobin "${S}"/probe + dodoc "${S}"/README* +} |