commit:     17b50d1aaf5248df250278fce357f6aee6fe33b7
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 29 08:31:21 2019 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Tue Oct 29 08:31:21 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=17b50d1a

sci-chemistry/ctffind: Add new package

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 sci-chemistry/ctffind/ctffind-4.1.13.ebuild | 32 +++++++++++++++++++++++++++++
 sci-chemistry/ctffind/metadata.xml          | 12 +++++++++++
 2 files changed, 44 insertions(+)

diff --git a/sci-chemistry/ctffind/ctffind-4.1.13.ebuild 
b/sci-chemistry/ctffind/ctffind-4.1.13.ebuild
new file mode 100644
index 000000000..50b098264
--- /dev/null
+++ b/sci-chemistry/ctffind/ctffind-4.1.13.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit wxwidgets
+
+DESCRIPTION="CTF estimation (ctffind, ctftilt)"
+HOMEPAGE="http://grigoriefflab.janelia.org/ctf";
+SRC_URI="http://grigoriefflab.janelia.org/sites/default/files/${P}.tar.gz";
+
+LICENSE="Janelia-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+       sci-libs/fftw:3.0
+       virtual/jpeg
+       media-libs/tiff
+       x11-libs/wxGTK:3.0
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+       ${DEPEND}
+       virtual/pkgconfig"
+
+src_prepare() {
+       default
+       sed /pdb/d -i src/core/core_headers.h || die "removing pdb.h failed"
+       sed /water/d -i src/core/core_headers.h || die "removing water.h failed"
+}

diff --git a/sci-chemistry/ctffind/metadata.xml 
b/sci-chemistry/ctffind/metadata.xml
new file mode 100644
index 000000000..7e9e870fd
--- /dev/null
+++ b/sci-chemistry/ctffind/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo Chemistry Project</name>
+       </maintainer>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Alexey Shvetsov</name>
+       </maintainer>
+</pkgmetadata>

Reply via email to