summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-05-16 11:50:16 +0000
committerJustin Lecher <jlec@gentoo.org>2010-05-16 11:50:16 +0000
commit2f2e2e1780a18463e0e996fc3880237e25dd1638 (patch)
tree55a5f7fc08abee30966fc850971d0b936100c4ce /sci-chemistry
parentFixed patch and Manifest (diff)
downloadgentoo-2-2f2e2e1780a18463e0e996fc3880237e25dd1638.tar.gz
gentoo-2-2f2e2e1780a18463e0e996fc3880237e25dd1638.tar.bz2
gentoo-2-2f2e2e1780a18463e0e996fc3880237e25dd1638.zip
Version Bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/pointless/ChangeLog8
-rw-r--r--sci-chemistry/pointless/files/1.5.1-gcc4.4.patch12
-rw-r--r--sci-chemistry/pointless/pointless-1.5.1.ebuild51
3 files changed, 70 insertions, 1 deletions
diff --git a/sci-chemistry/pointless/ChangeLog b/sci-chemistry/pointless/ChangeLog
index 8b3511ced840..171489d1bb84 100644
--- a/sci-chemistry/pointless/ChangeLog
+++ b/sci-chemistry/pointless/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/pointless
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pointless/ChangeLog,v 1.3 2010/04/25 11:29:59 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pointless/ChangeLog,v 1.4 2010/05/16 11:50:16 jlec Exp $
+
+*pointless-1.5.1 (16 May 2010)
+
+ 16 May 2010; Justin Lecher <jlec@gentoo.org> +files/1.5.1-gcc4.4.patch,
+ +pointless-1.5.1.ebuild:
+ Version Bump
*pointless-1.4.9 (26 Feb 2010)
diff --git a/sci-chemistry/pointless/files/1.5.1-gcc4.4.patch b/sci-chemistry/pointless/files/1.5.1-gcc4.4.patch
new file mode 100644
index 000000000000..ca67dbd3f336
--- /dev/null
+++ b/sci-chemistry/pointless/files/1.5.1-gcc4.4.patch
@@ -0,0 +1,12 @@
+diff --git a/string_util.hh b/string_util.hh
+index 66af6f3..047512b 100644
+--- a/string_util.hh
++++ b/string_util.hh
+@@ -3,6 +3,7 @@
+
+ #include <string>
+ #include <vector>
++#include <stdio.h>
+ #include "range.hh"
+
+ //======================================================================
diff --git a/sci-chemistry/pointless/pointless-1.5.1.ebuild b/sci-chemistry/pointless/pointless-1.5.1.ebuild
new file mode 100644
index 000000000000..21bd0dbda03c
--- /dev/null
+++ b/sci-chemistry/pointless/pointless-1.5.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pointless/pointless-1.5.1.ebuild,v 1.1 2010/05/16 11:50:16 jlec Exp $
+
+EAPI="3"
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Scores crystallographic Laue and space groups"
+HOMEPAGE="ftp://ftp.mrc-lmb.cam.ac.uk/pub/pre/pointless.html"
+SRC_URI="ftp://ftp.mrc-lmb.cam.ac.uk/pub/pre/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="ccp4"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ sci-chemistry/ccp4-apps
+ >=sci-libs/ccp4-libs-6.1.3
+ sci-libs/cctbx"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-gcc4.4.patch
+#epatch "${FILESDIR}"/${PV}-linking.patch
+}
+
+src_compile() {
+ emake \
+ -f Makefile.make \
+ CC=$(tc-getCC) \
+ CXX=$(tc-getCXX) \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LFLAGS="${LDFLAGS}" \
+ CLIB="${EPREFIX}/usr/$(get_libdir)" \
+ CCTBX_sources="${EPREFIX}"/usr/$(get_libdir)/cctbx/cctbx_sources \
+ CCTBX_VERSION=2009 \
+ ICCP4=-I"${EPREFIX}"/usr/include/ccp4 \
+ ICLPR="-I${EPREFIX}/usr/include -I${EPREFIX}/usr/$(get_libdir)/cctbx/cctbx_sources -I${EPREFIX}/usr/$(get_libdir)/cctbx/cctbx_build/include" \
+ LTBX="-L${EPREFIX}/usr/$(get_libdir)/cctbx/cctbx_build/lib -lcctbx" \
+ SLIB="$(gcc-config -L | awk -F: '{for(i=1; i<=NF; i++) printf " -L%s", $i}') -L${EPREFIX}/usr/$(get_libdir) -lgfortran -lgfortranbegin" \
+ || die
+}
+
+src_install() {
+ dobin pointless othercell || die
+}