aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-07-16 22:29:02 +0200
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-07-16 22:29:24 +0200
commitad5a040a0d4fd7236c564be82886209af68635df (patch)
treefab2d4112f9a0a32e235995ce4c87625ad9b1451 /sci-chemistry/mtz2hkl
parentfix manifests after merge conflict and wrong choice :-/ (diff)
downloadsci-ad5a040a0d4fd7236c564be82886209af68635df.tar.gz
sci-ad5a040a0d4fd7236c564be82886209af68635df.tar.bz2
sci-ad5a040a0d4fd7236c564be82886209af68635df.zip
Initial add mtz2hkl
Thanks to jlec for writting this ebuild pending bug is 278048
Diffstat (limited to 'sci-chemistry/mtz2hkl')
-rw-r--r--sci-chemistry/mtz2hkl/ChangeLog12
-rw-r--r--sci-chemistry/mtz2hkl/Manifest5
-rw-r--r--sci-chemistry/mtz2hkl/files/0.3-gentoo.patch24
-rw-r--r--sci-chemistry/mtz2hkl/metadata.xml8
-rw-r--r--sci-chemistry/mtz2hkl/mtz2hkl-0.3.ebuild35
5 files changed, 84 insertions, 0 deletions
diff --git a/sci-chemistry/mtz2hkl/ChangeLog b/sci-chemistry/mtz2hkl/ChangeLog
new file mode 100644
index 000000000..be0c2676f
--- /dev/null
+++ b/sci-chemistry/mtz2hkl/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for sci-chemistry/mtz2hkl
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*mtz2hkl-0.3 (16 Jul 2009)
+
+ 16 Jul 2009; Justin Lecher (jlec) <jlec@j-schmitz.net>
+ +files/0.3-gentoo.patch, +mtz2hkl-0.3.ebuild, +metadata.xml:
+ Initial add
+ Thanks to jlec for writting this ebuild
+ pending bug is 278048
+
diff --git a/sci-chemistry/mtz2hkl/Manifest b/sci-chemistry/mtz2hkl/Manifest
new file mode 100644
index 000000000..8fdb557d8
--- /dev/null
+++ b/sci-chemistry/mtz2hkl/Manifest
@@ -0,0 +1,5 @@
+AUX 0.3-gentoo.patch 572 RMD160 dd0a4c43e9548f9d3805e0028e7ef40e4f76e734 SHA1 01ee198118b4f9be16a2cf46051846f88067ca5d SHA256 b2807615ace26f68bec7aa45557c103b5e0113287322cba7a3492692dd406f86
+DIST mtz2hkl_v0.3.tar.gz 11284 RMD160 a21355254ca18fd7b57bf704a44ce8a23dacce84 SHA1 eea1e0c075d1ff9edb784ac19ba9363b3054a455 SHA256 10109ef7659acea7ab2b75b18dae00f7bb29907b579523d8735c0621b4924cce
+EBUILD mtz2hkl-0.3.ebuild 791 RMD160 0b176af47b73fc44371ecc63a4745a7dd14c040a SHA1 cf2d6ccdfcfd43508cb20f633f67c08d45777ede SHA256 ce374517a87a76b11e678f39cb3dea09320c8c45ca537f10a207740579e87ec6
+MISC ChangeLog 351 RMD160 4a025ad0433707f454215b8f5110cc7636e16204 SHA1 5fed17506cd17b2a8011efa3f6cb447d2c4937c9 SHA256 d2c71486f0ff0cbe0dd87383aa30c81c2c006f1471822262cb1b29238cbaad64
+MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
diff --git a/sci-chemistry/mtz2hkl/files/0.3-gentoo.patch b/sci-chemistry/mtz2hkl/files/0.3-gentoo.patch
new file mode 100644
index 000000000..6bb2f4a6b
--- /dev/null
+++ b/sci-chemistry/mtz2hkl/files/0.3-gentoo.patch
@@ -0,0 +1,24 @@
+--- Makefile 2009-07-16 13:40:43.000000000 +0200
++++ Makefile.new 2009-07-16 22:09:28.000000000 +0200
+@@ -1,9 +1,9 @@
+ CXX=g++
+ TARGET=mtz2hkl
+ GPP4=/usr/local/crystallography/libs/gpp4-1.0.4
+-INCL=-I${GPP4}/include/gpp4
+-CFLAGS=-O3 -fPIC
+-LIBS=-L${GPP4}/lib -lgpp4
++INCL=-I/usr/include/cpp4
++CFLAGS+=-fPIC
++LIBS=-lccp4c
+
+ LDFLAGS=-static
+
+@@ -16,7 +16,7 @@
+ utils.o
+
+ all: ${OBJS}
+- ${CXX} ${CFLAG} ${OBJS} ${LIBS} ${LDFLAGS} -o ${TARGET}
++ ${CXX} ${CFLAGS} ${LDFLAGS} -o ${TARGET} ${OBJS} ${LIBS}
+
+ %.o: %.cpp %.h defines.h
+ ${CXX} ${CFLAGS} ${INCL} -c $<
diff --git a/sci-chemistry/mtz2hkl/metadata.xml b/sci-chemistry/mtz2hkl/metadata.xml
new file mode 100644
index 000000000..efb490d78
--- /dev/null
+++ b/sci-chemistry/mtz2hkl/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>sci@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/sci-chemistry/mtz2hkl/mtz2hkl-0.3.ebuild b/sci-chemistry/mtz2hkl/mtz2hkl-0.3.ebuild
new file mode 100644
index 000000000..03a9f603a
--- /dev/null
+++ b/sci-chemistry/mtz2hkl/mtz2hkl-0.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit base toolchain-funcs
+
+DESCRIPTION="Intended to facilitate the transition from refmac5 refinement to shelxh or shelxl refinement"
+HOMEPAGE="http://shelx.uni-ac.gwdg.de/~tg/mtz2x/mtz2hkl/mtz2hkl.php"
+SRC_URI="http://shelx.uni-ac.gwdg.de/~tg/mtz2x/${PN}/downloads/${PV}/${PN}_v${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sci-libs/ccp4-libs"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/${PN}
+
+PATCHES=(
+ "${FILESDIR}"/${PV}-gentoo.patch
+ )
+
+src_compile() {
+ emake \
+ CXX=$(tc-getCXX) \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" || \
+ die "compilation failed"
+}
+
+src_install() {
+ dobin ${PN} || die "installation of ${PN} failed"
+}