commit:     29f63c74c501c9dd80e3ec0b4db29a55ef23265c
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 17 11:40:44 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jul 17 11:40:44 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=29f63c74

sci-chemistry/module2: New package written by me

Package-Manager: portage-2.2.10
RepoMan-Options: --force

---
 sci-chemistry/module2/ChangeLog                    | 10 +++++
 sci-chemistry/module2/metadata.xml                 |  8 ++++
 sci-chemistry/module2/module2-0_pre20140717.ebuild | 51 ++++++++++++++++++++++
 3 files changed, 69 insertions(+)

diff --git a/sci-chemistry/module2/ChangeLog b/sci-chemistry/module2/ChangeLog
new file mode 100644
index 0000000..8a965e2
--- /dev/null
+++ b/sci-chemistry/module2/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-chemistry/module2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*module2-0_pre20140717 (17 Jul 2014)
+
+  17 Jul 2014; Justin Lecher <[email protected]> +module2-0_pre20140717.ebuild,
+  +metadata.xml:
+  New package written by me
+

diff --git a/sci-chemistry/module2/metadata.xml 
b/sci-chemistry/module2/metadata.xml
new file mode 100644
index 0000000..ae9ec7c
--- /dev/null
+++ b/sci-chemistry/module2/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>[email protected]</email>
+  </maintainer>
+</pkgmetadata>

diff --git a/sci-chemistry/module2/module2-0_pre20140717.ebuild 
b/sci-chemistry/module2/module2-0_pre20140717.ebuild
new file mode 100644
index 0000000..124d0ff
--- /dev/null
+++ b/sci-chemistry/module2/module2-0_pre20140717.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+# inherit
+
+DESCRIPTION="Residual dipolar coupling and residual chemical shift analysis 
software"
+HOMEPAGE="http://www.ibs.fr/science-213/scientific-output/software/module/?lang=en";
+SRC_URI="MODULE2.tar.gz"
+
+SLOT="0"
+LICENSE="all-rights-reserved"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+       x11-libs/motif:2.2[abi_x86_32(-)]
+       x11-libs/libX11[abi_x86_32(-)]
+       x11-libs/libXext[abi_x86_32(-)]
+       x11-libs/libXpm[abi_x86_32(-)]
+       x11-libs/libXt[abi_x86_32(-)]
+"
+DEPEND="${RDEPEND}
+"
+
+RESTRICT="fetch splitdebug"
+
+S="${WORKDIR}"/MODULE2
+
+QA_PREBUILT="opt/bin/.*"
+
+pkg_nofetch() {
+       elog "Please download ${A} from"
+       elog "${HOMEPAGE}"
+       elog "and place it in ${DISTDIR}"
+}
+
+src_install() {
+       use prefix && \
+               patchelf --set-rpath "${EPREFIX}"/usr/lib
+       exeinto /opt/bin
+       doexe module
+       dosym module /opt/bin/${PN}
+
+       dohtml -r MODULE2_manual_fichiers MODULE2_manual.htm
+
+       insinto /usr/share/${PN}
+       doins sample*
+}

Reply via email to