From 5d7dc265a5a45124e59d68893f81b4ce34d62f2e Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sun, 18 Jul 2010 08:27:49 +0000 Subject: [PATCH] New Addition Package-Manager: portage-2.2_rc67/cvs/Linux x86_64 --- sci-chemistry/cluster/ChangeLog | 11 ++++++ sci-chemistry/cluster/Manifest | 16 ++++++++ .../cluster/cluster-1.3.081231.ebuild | 38 +++++++++++++++++++ .../cluster/files/1.3.081231-includes.patch | 12 ++++++ .../cluster/files/1.3.081231-ldflags.patch | 35 +++++++++++++++++ sci-chemistry/cluster/metadata.xml | 18 +++++++++ 6 files changed, 130 insertions(+) create mode 100644 sci-chemistry/cluster/ChangeLog create mode 100644 sci-chemistry/cluster/Manifest create mode 100644 sci-chemistry/cluster/cluster-1.3.081231.ebuild create mode 100644 sci-chemistry/cluster/files/1.3.081231-includes.patch create mode 100644 sci-chemistry/cluster/files/1.3.081231-ldflags.patch create mode 100644 sci-chemistry/cluster/metadata.xml diff --git a/sci-chemistry/cluster/ChangeLog b/sci-chemistry/cluster/ChangeLog new file mode 100644 index 000000000000..f0708558c099 --- /dev/null +++ b/sci-chemistry/cluster/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-chemistry/cluster +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cluster/ChangeLog,v 1.1 2010/07/18 08:27:49 jlec Exp $ + +*cluster-1.3.081231 (18 Jul 2010) + + 18 Jul 2010; Justin Lecher + +files/1.3.081231-includes.patch, +files/1.3.081231-ldflags.patch, + +cluster-1.3.081231.ebuild, +metadata.xml: + New Addition + diff --git a/sci-chemistry/cluster/Manifest b/sci-chemistry/cluster/Manifest new file mode 100644 index 000000000000..8efe2565b062 --- /dev/null +++ b/sci-chemistry/cluster/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 1.3.081231-includes.patch 245 RMD160 5d0daa1417fb1330eb28438c5312d5004d6afeda SHA1 507950fd20df0e0ccf1821fe751052c6bbc0b17d SHA256 a4ab35ecef5f3bc2146823f6bd611f2a7dc0dc1fa299cb60f2c8a94ff64e78ae +AUX 1.3.081231-ldflags.patch 794 RMD160 622b25789e023ad9262145d1934d8d95f11bddef SHA1 99eea149c4d2ad2bcb553db683f98318d381cc4e SHA256 0a0a101469973edb8ca651c3125ab676b101bb5c49cd2ba2e8499ed513311e5e +DIST cluster.1.3.081231.src.tgz 8860 RMD160 675172b42e74aa61b7fa067d0f5ebae36b22faff SHA1 9bfc555717e4840ed08a4882aaf3598ceb202629 SHA256 4e0986d5ff124936b5fff4b6f8989dd04be11180d6552fddc34b2c10dfcc870f +EBUILD cluster-1.3.081231.ebuild 861 RMD160 f61e9bd63dd0ce7a01b89df3e0acc693989d3681 SHA1 979f9c6932cdd3a4de68feb1f4b475ad6e80c584 SHA256 023cf3cd256fcdc4bc14d5e1c21e5186011654e0162d1c4934632bf8acd527b6 +MISC ChangeLog 425 RMD160 a31c32d4682da345e241216089bed571b3ebbdb6 SHA1 2762e54c9fd63cc7ad14610f27ced0b8a27444fd SHA256 587396f50dcea7463495b791ff00e143eee5b12e6bc13243806b053f8828b9bb +MISC metadata.xml 614 RMD160 309fac404073863f8a13e511540e579c77a3b2c9 SHA1 c33c4b1302c2dea4d5b98465a417fb76c671e655 SHA256 89d12e5a2f17f7991adc0e559f4785d19b83cfb6dc9fd3b5d1e777c0ccd6c0fb +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.15 (GNU/Linux) + +iEYEARECAAYFAkxCuw0ACgkQgAnW8HDreRbNsACffkoJmuxP46a7fLmx4HMXqRUM +dAEAni5x9SjEzaf2pK9wT5DwyIHREGpT +=SUMe +-----END PGP SIGNATURE----- diff --git a/sci-chemistry/cluster/cluster-1.3.081231.ebuild b/sci-chemistry/cluster/cluster-1.3.081231.ebuild new file mode 100644 index 000000000000..4d3d59c17599 --- /dev/null +++ b/sci-chemistry/cluster/cluster-1.3.081231.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cluster/cluster-1.3.081231.ebuild,v 1.1 2010/07/18 08:27:49 jlec Exp $ + +EAPI="3" + +inherit eutils toolchain-funcs + +DESCRIPTION="Build lists of collections of interacting items" +HOMEPAGE="http://kinemage.biochem.duke.edu/software/index.php" +SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${PN}.${PV}.src.tgz" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="richardson" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${PN}1.3src + +src_prepare() { + epatch \ + "${FILESDIR}"/${PV}-ldflags.patch \ + "${FILESDIR}"/${PV}-includes.patch +} + +src_compile() { + emake \ + CXX="$(tc-getCXX)" \ + || die +} + +src_install() { + dobin ${PN} || die + dodoc README.cluster || die +} diff --git a/sci-chemistry/cluster/files/1.3.081231-includes.patch b/sci-chemistry/cluster/files/1.3.081231-includes.patch new file mode 100644 index 000000000000..a5586a540a4f --- /dev/null +++ b/sci-chemistry/cluster/files/1.3.081231-includes.patch @@ -0,0 +1,12 @@ +diff --git a/cluster.cpp b/cluster.cpp +index 0a8c3c1..1384949 100644 +--- a/cluster.cpp ++++ b/cluster.cpp +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + + #include + #include diff --git a/sci-chemistry/cluster/files/1.3.081231-ldflags.patch b/sci-chemistry/cluster/files/1.3.081231-ldflags.patch new file mode 100644 index 000000000000..d407e0bc8b8f --- /dev/null +++ b/sci-chemistry/cluster/files/1.3.081231-ldflags.patch @@ -0,0 +1,35 @@ +diff --git a/Makefile b/Makefile +index 7892054..938a8c8 100644 +--- a/Makefile ++++ b/Makefile +@@ -3,7 +3,7 @@ PROG_FLGS = -D BOOLPREDEFINED + + SRCS = cluster.cpp DisjointSets.cpp utility.cpp + +-CFLAGS = $(OPT) $(DEBUG) $(PROG_FLGS) ++CXXFLAGS += $(OPT) $(DEBUG) $(PROG_FLGS) + + LFLAGS = + +@@ -12,7 +12,7 @@ OBJLIST = cluster.o DisjointSets.o utility.o + CXX = g++ + + .cpp.o: +- $(CXX) -c $*.cpp $(CFLAGS) ++ $(CXX) $(CXXFLAGS) -c $*.cpp + + OPT = -O3 + DEBUG = $(CXXDEBUGFLAGS) +@@ -20,10 +20,10 @@ DEBUG = $(CXXDEBUGFLAGS) + all: cluster + + cluster: $(OBJLIST) +- $(CXX) -o $@ $(OBJLIST) $(LFLAGS) ++ $(CXX) $(LDFLAGS) -o $@ $(OBJLIST) + + depend: +- makedepend -- $(CFLAGS) -- $(SRCS) ++ makedepend -- $(CXXFLAGS) -- $(SRCS) + + clean: + @rm -rf *.o *.ckp ii_files diff --git a/sci-chemistry/cluster/metadata.xml b/sci-chemistry/cluster/metadata.xml new file mode 100644 index 000000000000..6950f7c61ee3 --- /dev/null +++ b/sci-chemistry/cluster/metadata.xml @@ -0,0 +1,18 @@ + + + +sci-chemistry + + jlec@gentoo.org + + +Cluster is a simple UNIX C++ program to build lists of collections +of interacting items from records containing interacting pairs +and larger fragments. + +It reads in lines consisting of two or more names and output +connected clusters of names. Each line of output is +prefixed with a cluster number, the size of the cluster +and an optional name string. + + -- 2.26.2