summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-chemistry/xyza2pipe
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-chemistry/xyza2pipe')
-rw-r--r--sci-chemistry/xyza2pipe/Manifest2
-rw-r--r--sci-chemistry/xyza2pipe/files/20101129-gentoo.patch152
-rw-r--r--sci-chemistry/xyza2pipe/files/xyza2pipe-20121001-gentoo.patch168
-rw-r--r--sci-chemistry/xyza2pipe/metadata.xml8
-rw-r--r--sci-chemistry/xyza2pipe/xyza2pipe-20101129.ebuild28
-rw-r--r--sci-chemistry/xyza2pipe/xyza2pipe-20121001.ebuild33
6 files changed, 391 insertions, 0 deletions
diff --git a/sci-chemistry/xyza2pipe/Manifest b/sci-chemistry/xyza2pipe/Manifest
new file mode 100644
index 000000000000..e724f9fb0d3c
--- /dev/null
+++ b/sci-chemistry/xyza2pipe/Manifest
@@ -0,0 +1,2 @@
+DIST xyza2pipe-20101129.tgz 67301 SHA256 3ef853ee6df8eac521a6670d12278b4b5854919aba5d6519d65c73dadc776695 SHA512 19744d88be04afc8049b38179e96aab9ecd72daf8c6aa99cb21ab6a63d1da440f301bba274cff6ae3f9f4c2eec311294e1fe212bec63c81b22349c698609c1c3 WHIRLPOOL dfacea33e37d09d09d073bdab5e363f403ad1aaa81e9a0311769de57e7b06d12b5edce7362a6bd9bd3c667f089b8138ab699e75a8c8093df81b4fa1de270c72f
+DIST xyza2pipe-20121001.tgz 61002 SHA256 c2e2d83dc6f0424afe519aa0ba83922f1c6d1b90933edf5d62722ac56af3b1de SHA512 b64abf46a8d7f3530eecaeec3bc8b143600c6823174a22727868087c2f7f17af0b538a0521e3a29806dc608b003948a1e31296ab395bc3c0089c5dc7a391d855 WHIRLPOOL fec47032811c81709d996712b938ed315e67435d72ae91c1ce2a01546c62eae4868d7e430585cd4f1830e158a8a994e23af02e6f23a897d44f98a81b2889baac
diff --git a/sci-chemistry/xyza2pipe/files/20101129-gentoo.patch b/sci-chemistry/xyza2pipe/files/20101129-gentoo.patch
new file mode 100644
index 000000000000..11586ee4f81c
--- /dev/null
+++ b/sci-chemistry/xyza2pipe/files/20101129-gentoo.patch
@@ -0,0 +1,152 @@
+diff --git a/Makefile b/Makefile
+index 7e00197..b078f06 100644
+--- a/Makefile
++++ b/Makefile
+@@ -4,10 +4,11 @@
+ # Last modified: Jun/30/2010
+ #
+
+-CFLAGS = -O3 -lm
++CFLAGS ?= -O3
++LIBS =-lm
+
+ TARGETS = xyza2pipe ucsf2pipe nv2pipe xeasy2pipe azara2pipe vnmr2pipe xwnmr2pipe\
+- pipe2xyza pipe2ucsf pipe2nv pipe2xeasy pipe2azara\
++ pipe2xyza pipe2ucsf-olivia pipe2nv pipe2xeasy pipe2azara-olivia \
+ pipe2proj add2pipe adducsf2pipe addnv2pipe addxeasy2pipe addazara2pipe addvnmr2pipe addxwnmr2pipe
+
+ OBJECTS_C = checklabel.o checkxyza.o cnvhdr.o\
+@@ -60,86 +61,90 @@ clean:
+ rm -f $(TARGETS) addxyza2pipe
+
+ .o:
+- $(CC) $< -c -o $@ $(CFLAGS)
++ $(CC) $(CFLAGS) $< -c -o $@
+
+ xyza2pipe: $(OBJECTS_C) $(OBJECTS_XP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ pipe2xyza: $(OBJECTS_C) $(OBJECTS_PX)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ ucsf2pipe: $(OBJECTS_C) $(OBJECTS_UP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+-pipe2ucsf: $(OBJECTS_C) $(OBJECTS_PU)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++pipe2ucsf-olivia: $(OBJECTS_C) $(OBJECTS_PU)
++ $(CC) $(CFLAGS) $(LDFLAGS) pipe2ucsf.c $^ -o $@ \
++ $(LIBS)
+
+ nv2pipe: $(OBJECTS_C) $(OBJECTS_NP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ pipe2nv: $(OBJECTS_C) $(OBJECTS_PN)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ xeasy2pipe: $(OBJECTS_C) $(OBJECTS_EP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ pipe2xeasy: $(OBJECTS_C) $(OBJECTS_PE)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ azara2pipe: $(OBJECTS_C) $(OBJECTS_AP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+-pipe2azara: $(OBJECTS_C) $(OBJECTS_PA)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++pipe2azara-olivia: $(OBJECTS_C) $(OBJECTS_PA)
++ $(CC) $(CFLAGS) $(LDFLAGS) pipe2azara.c $^ -o $@ \
++ $(LIBS)
+
+ vnmr2pipe: $(OBJECTS_C) $(OBJECTS_VP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ xwnmr2pipe: $(OBJECTS_C) $(OBJECTS_BP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ pipe2proj: $(OBJECTS_C) $(OBJECTS_PJ)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ add2pipe: $(OBJECTS_C) $(OBJECTS_DXP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+ rm -f addxyza2pipe
+ ln -s add2pipe addxyza2pipe
+
+ adducsf2pipe: $(OBJECTS_C) $(OBJECTS_DUP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ addnv2pipe: $(OBJECTS_C) $(OBJECTS_DNP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ addxeasy2pipe: $(OBJECTS_C) $(OBJECTS_DEP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ addazara2pipe: $(OBJECTS_C) $(OBJECTS_DAP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ addvnmr2pipe: $(OBJECTS_C) $(OBJECTS_DVP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
+
+ addxwnmr2pipe: $(OBJECTS_C) $(OBJECTS_DBP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(LIBS)
++
++install: $(TARGETS)
++ install -d $(DESTDIR)/usr/bin
++ install $(TARGETS) $(DESTDIR)/usr/bin/
diff --git a/sci-chemistry/xyza2pipe/files/xyza2pipe-20121001-gentoo.patch b/sci-chemistry/xyza2pipe/files/xyza2pipe-20121001-gentoo.patch
new file mode 100644
index 000000000000..ec4220dd0695
--- /dev/null
+++ b/sci-chemistry/xyza2pipe/files/xyza2pipe-20121001-gentoo.patch
@@ -0,0 +1,168 @@
+ Makefile | 106 +++++++++++++++++++++++++++++++++++++--------------------------
+ 1 file changed, 63 insertions(+), 43 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 15d4bd3..e738ec2 100644
+--- a/Makefile
++++ b/Makefile
+@@ -4,7 +4,7 @@
+ # Last modified: Feb/22/2012
+ #
+
+-CFLAGS = -O3
++CFLAGS ?= -O3
+ MFLAGS = -lm
+
+ TARGETS = xyza2pipe ucsf2pipe nv2pipe xeasy2pipe azara2pipe vnmr2pipe xwnmr2pipe\
+@@ -62,89 +62,109 @@ clean:
+ rm -f $(TARGETS) addxyza2pipe
+
+ $(OBJECTS_MATH):
+- $(CC) $*.c -c -o $@ $(CFLAGS) -D__XYZA2PIPE__
++ $(CC) $(CPPFLAGS) -D__XYZA2PIPE__ $(CFLAGS) $*.c -c -o $@
+
+ .o:
+- $(CC) $< -c -o $@ $(CFLAGS)
++ $(CC) $(CPPFLAGS) $(CFLAGS) $< -c -o $@
+
+ xyza2pipe: $(OBJECTS_C) $(OBJECTS_XP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ pipe2xyza: $(OBJECTS_C) $(OBJECTS_PX)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ ucsf2pipe: $(OBJECTS_C) $(OBJECTS_UP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ pipe2ucsf: $(OBJECTS_C) $(OBJECTS_PU)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ nv2pipe: $(OBJECTS_C) $(OBJECTS_NP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ pipe2nv: $(OBJECTS_C) $(OBJECTS_PN)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ xeasy2pipe: $(OBJECTS_C) $(OBJECTS_EP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ pipe2xeasy: $(OBJECTS_C) $(OBJECTS_PE)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ azara2pipe: $(OBJECTS_C) $(OBJECTS_AP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ pipe2azara: $(OBJECTS_C) $(OBJECTS_PA)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ vnmr2pipe: $(OBJECTS_C) $(OBJECTS_VP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ xwnmr2pipe: $(OBJECTS_C) $(OBJECTS_BP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ pipe2proj: $(OBJECTS_C) $(OBJECTS_PJ)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ add2pipe: $(OBJECTS_C) $(OBJECTS_DXP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+ rm -f addxyza2pipe
+ ln -s add2pipe addxyza2pipe
+
+ adducsf2pipe: $(OBJECTS_C) $(OBJECTS_DUP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ addnv2pipe: $(OBJECTS_C) $(OBJECTS_DNP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ addxeasy2pipe: $(OBJECTS_C) $(OBJECTS_DEP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ addazara2pipe: $(OBJECTS_C) $(OBJECTS_DAP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ addvnmr2pipe: $(OBJECTS_C) $(OBJECTS_DVP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
+
+ addxwnmr2pipe: $(OBJECTS_C) $(OBJECTS_DBP)
+- $(CC) $@.c $^ -o $@ \
+- $(CFLAGS) $(MFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $@.c $^ -o $@ \
++ $(MFLAGS)
++ mv -v $@ bin/
diff --git a/sci-chemistry/xyza2pipe/metadata.xml b/sci-chemistry/xyza2pipe/metadata.xml
new file mode 100644
index 000000000000..ae9ec7c5f6a4
--- /dev/null
+++ b/sci-chemistry/xyza2pipe/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-chemistry</herd>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/sci-chemistry/xyza2pipe/xyza2pipe-20101129.ebuild b/sci-chemistry/xyza2pipe/xyza2pipe-20101129.ebuild
new file mode 100644
index 000000000000..51428079a77e
--- /dev/null
+++ b/sci-chemistry/xyza2pipe/xyza2pipe-20101129.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Cross conversion environment of NMR spectra"
+HOMEPAGE="http://fermi.pharm.hokudai.ac.jp/olivia/api/index.php/Xyza2pipe_src"
+SRC_URI="mirror://gentoo/${P}.tgz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="olivia"
+IUSE=""
+
+S="${WORKDIR}"/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-gentoo.patch
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${ED}" install || die
+ dodoc README FEEDBACK || die
+}
diff --git a/sci-chemistry/xyza2pipe/xyza2pipe-20121001.ebuild b/sci-chemistry/xyza2pipe/xyza2pipe-20121001.ebuild
new file mode 100644
index 000000000000..6e7af4ff9b2b
--- /dev/null
+++ b/sci-chemistry/xyza2pipe/xyza2pipe-20121001.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Cross conversion environment of NMR spectra"
+HOMEPAGE="http://fermi.pharm.hokudai.ac.jp/olivia/api/index.php/Xyza2pipe_src"
+SRC_URI="http://fermi.pharm.hokudai.ac.jp/olivia/documents/xyza2pipe.tgz -> ${P}.tgz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="olivia"
+IUSE=""
+
+S="${WORKDIR}"/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ tc-export CC
+ mkdir bin
+}
+
+src_install() {
+ local i
+ dodoc README FEEDBACK
+ cd bin || die
+ for i in *; do
+ newbin ${i}{,-olivia}
+ done
+}