summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-10-23 12:25:26 +0000
committerJustin Lecher <jlec@gentoo.org>2010-10-23 12:25:26 +0000
commit9f53fb7f294f56fbcf7060371f43e789841c43e1 (patch)
treea4214f7bc66480e42392bc22744f1fa3a9cf5f7a /sci-chemistry/pointless
parentDelete older ebuild. (diff)
downloadgentoo-2-9f53fb7f294f56fbcf7060371f43e789841c43e1.tar.gz
gentoo-2-9f53fb7f294f56fbcf7060371f43e789841c43e1.tar.bz2
gentoo-2-9f53fb7f294f56fbcf7060371f43e789841c43e1.zip
Version Bump
(Portage version: 2.2_rc99/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/pointless')
-rw-r--r--sci-chemistry/pointless/ChangeLog7
-rw-r--r--sci-chemistry/pointless/pointless-1.5.10.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/sci-chemistry/pointless/ChangeLog b/sci-chemistry/pointless/ChangeLog
index d48e4155e43a..44ddbd87607e 100644
--- a/sci-chemistry/pointless/ChangeLog
+++ b/sci-chemistry/pointless/ChangeLog
@@ -1,6 +1,11 @@
# 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.10 2010/09/25 08:59:18 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pointless/ChangeLog,v 1.11 2010/10/23 12:25:26 jlec Exp $
+
+*pointless-1.5.10 (23 Oct 2010)
+
+ 23 Oct 2010; Justin Lecher <jlec@gentoo.org> +pointless-1.5.10.ebuild:
+ Version Bump
25 Sep 2010; Justin Lecher <jlec@gentoo.org> pointless-1.5.9.ebuild:
reverted Changes for include paths
diff --git a/sci-chemistry/pointless/pointless-1.5.10.ebuild b/sci-chemistry/pointless/pointless-1.5.10.ebuild
new file mode 100644
index 000000000000..f7c1372b26e6
--- /dev/null
+++ b/sci-chemistry/pointless/pointless-1.5.10.ebuild
@@ -0,0 +1,50 @@
+# 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.10.ebuild,v 1.1 2010/10/23 12:25:26 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 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="
+ sci-chemistry/ccp4-apps
+ >=sci-libs/ccp4-libs-6.1.3
+ <sci-libs/cctbx-2010.03.29.2334-r2"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/1.5.1-gcc4.4.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
+}