sci-biology/yass: Port to EAPI=6
authorDavid Seifert <soap@gentoo.org>
Sat, 3 Sep 2016 22:33:38 +0000 (00:33 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 3 Sep 2016 23:03:13 +0000 (01:03 +0200)
Package-Manager: portage-2.3.0

sci-biology/yass/yass-1.14-r2.ebuild [new file with mode: 0644]

diff --git a/sci-biology/yass/yass-1.14-r2.ebuild b/sci-biology/yass/yass-1.14-r2.ebuild
new file mode 100644 (file)
index 0000000..ff95e74
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Genomic similarity search with multiple transition constrained spaced seeds"
+HOMEPAGE="http://bioinfo.lifl.fr/yass/"
+SRC_URI="http://bioinfo.lifl.fr/yass/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="dmalloc lowmem threads"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dmalloc? ( dev-libs/dmalloc )"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PV}-as-needed.patch )
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               $(use_enable threads) \
+               $(use_enable lowmem lowmemory) \
+               $(use_with dmalloc)
+}