diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-02-06 22:28:23 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-02-06 22:28:23 +0000 |
commit | 358c2c2e340bfa62ea26c074ae8f8d92ffb8ad51 (patch) | |
tree | 54e95327728698348426ee687965054601c182b9 /sci-chemistry/pointless | |
parent | Removing camstream (depends on Qt 3), bug #302276. (diff) | |
download | gentoo-2-358c2c2e340bfa62ea26c074ae8f8d92ffb8ad51.tar.gz gentoo-2-358c2c2e340bfa62ea26c074ae8f8d92ffb8ad51.tar.bz2 gentoo-2-358c2c2e340bfa62ea26c074ae8f8d92ffb8ad51.zip |
Splitted pointless from ccp4
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/pointless')
-rw-r--r-- | sci-chemistry/pointless/ChangeLog | 10 | ||||
-rw-r--r-- | sci-chemistry/pointless/metadata.xml | 8 | ||||
-rw-r--r-- | sci-chemistry/pointless/pointless-1.4.8.ebuild | 44 |
3 files changed, 62 insertions, 0 deletions
diff --git a/sci-chemistry/pointless/ChangeLog b/sci-chemistry/pointless/ChangeLog new file mode 100644 index 000000000000..8c6bf4d220e3 --- /dev/null +++ b/sci-chemistry/pointless/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2010/02/06 22:28:23 jlec Exp $ + +*pointless-1.4.8 (06 Feb 2010) + + 06 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org> + +pointless-1.4.8.ebuild, +metadata.xml: + Splitted pointless from ccp4 + diff --git a/sci-chemistry/pointless/metadata.xml b/sci-chemistry/pointless/metadata.xml new file mode 100644 index 000000000000..c6856dc7f2cf --- /dev/null +++ b/sci-chemistry/pointless/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> + <email>jlec@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/sci-chemistry/pointless/pointless-1.4.8.ebuild b/sci-chemistry/pointless/pointless-1.4.8.ebuild new file mode 100644 index 000000000000..32789d380ff3 --- /dev/null +++ b/sci-chemistry/pointless/pointless-1.4.8.ebuild @@ -0,0 +1,44 @@ +# 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.4.8.ebuild,v 1.1 2010/02/06 22:28:23 jlec Exp $ + +inherit toolchain-funcs multilib + +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_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" \ + LCCP4="$(gcc-config -L | awk -F: '{for(i=1; i<=NF; i++) printf " -L%s", $i}') -L${EPREFIX}/usr/$(get_libdir) -lgfortran -lgfortranbegin -lccp4c -lccp4f -lm" \ + || die +} + +src_install() { + dobin pointless othercell || die +} |