diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-11-29 21:09:09 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-11-29 21:09:09 +0000 |
commit | 4f29990f354f0e893e94187fbb7bd86bdabd4c25 (patch) | |
tree | 1a76e60dfd6e046b8f20a5ff5d01b1adf8349e19 /sci-chemistry | |
parent | olivia license added (diff) | |
download | historical-4f29990f354f0e893e94187fbb7bd86bdabd4c25.tar.gz historical-4f29990f354f0e893e94187fbb7bd86bdabd4c25.tar.bz2 historical-4f29990f354f0e893e94187fbb7bd86bdabd4c25.zip |
New addition
Package-Manager: portage-2.2.0_alpha6/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/xyza2pipe/ChangeLog | 10 | ||||
-rw-r--r-- | sci-chemistry/xyza2pipe/Manifest | 15 | ||||
-rw-r--r-- | sci-chemistry/xyza2pipe/files/20101129-gentoo.patch | 152 | ||||
-rw-r--r-- | sci-chemistry/xyza2pipe/metadata.xml | 8 | ||||
-rw-r--r-- | sci-chemistry/xyza2pipe/xyza2pipe-20101129.ebuild | 28 |
5 files changed, 213 insertions, 0 deletions
diff --git a/sci-chemistry/xyza2pipe/ChangeLog b/sci-chemistry/xyza2pipe/ChangeLog new file mode 100644 index 000000000000..e4ff1d0b2b58 --- /dev/null +++ b/sci-chemistry/xyza2pipe/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-chemistry/xyza2pipe +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/xyza2pipe/ChangeLog,v 1.1 2010/11/29 21:09:09 jlec Exp $ + +*xyza2pipe-20101129 (29 Nov 2010) + + 29 Nov 2010; Justin Lecher <jlec@gentoo.org> +files/20101129-gentoo.patch, + +xyza2pipe-20101129.ebuild, +metadata.xml: + New addition + diff --git a/sci-chemistry/xyza2pipe/Manifest b/sci-chemistry/xyza2pipe/Manifest new file mode 100644 index 000000000000..8168d1bc653e --- /dev/null +++ b/sci-chemistry/xyza2pipe/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 20101129-gentoo.patch 3603 RMD160 f326a093be69f921999e2d1b460080292c52ec8b SHA1 aa85731324702574ddf5ee22102281c17bcbe035 SHA256 da97fd4066f0e619f9c232d7f80ff2de1a253d396bf1403cd93ab507792f289a +DIST xyza2pipe-20101129.tgz 67301 RMD160 1654ae48ff43ce6a2c539d0de8f3909b40c12940 SHA1 548629014c29f7437357890222f5824bc061b9bf SHA256 3ef853ee6df8eac521a6670d12278b4b5854919aba5d6519d65c73dadc776695 +EBUILD xyza2pipe-20101129.ebuild 709 RMD160 7932ed666c453a92ad1194e1f35937a17932b2f0 SHA1 f281da6e8b4b0a9a6b8f3294717ac40916b6afe9 SHA256 26c10560883aaf5bf9d626682b120d8e618e1abf57b7a847c4a456c9c0263d41 +MISC ChangeLog 390 RMD160 bb9fd292bf9e048b5e6c424a7b2f0075978ecfbe SHA1 d0f66b8922c1b7f340657b3e6d28efd6a641291f SHA256 6ada0d5be06ecda13af165442a94b2a56ffa835299d0f6a555990e191f5f3739 +MISC metadata.xml 226 RMD160 0355d90bd8d1c106a19b136045ebdf970a0a2485 SHA1 1db0b2a470657641079d6613829df49a5c043ed6 SHA256 094a3ac740c81b9afbff3c855ba93cc20a593cad2392f6f4404715608a836fa1 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iEYEARECAAYFAkz0FnoACgkQgAnW8HDreRaOcQCfU4gXsA2pnGmvaFKwaCD+vcLc +kMIAnjgLcFyHv3VKVfH+fkc9m6Hk/ywl +=u0+8 +-----END PGP SIGNATURE----- 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/metadata.xml b/sci-chemistry/xyza2pipe/metadata.xml new file mode 100644 index 000000000000..dde7ca88a50f --- /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..b2619447f335 --- /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 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/xyza2pipe/xyza2pipe-20101129.ebuild,v 1.1 2010/11/29 21:09:09 jlec Exp $ + +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 +} |