You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.1 KiB
53 lines
1.1 KiB
7 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
8 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
|
|
||
|
PYTHON_COMPAT=( python2_7 )
|
||
|
|
||
7 years ago
|
inherit autotools flag-o-matic python-single-r1
|
||
8 years ago
|
|
||
|
DESCRIPTION="A Modular, Open-Source whole genome assembler"
|
||
|
HOMEPAGE="http://amos.sourceforge.net/"
|
||
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
|
||
|
https://dev.gentoo.org/~soap/distfiles/${PN}-3.1.0-fix-c++14.patch.bz2"
|
||
|
|
||
|
LICENSE="Artistic"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
7 years ago
|
IUSE=""
|
||
8 years ago
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||
8 years ago
|
|
||
7 years ago
|
DEPEND=""
|
||
8 years ago
|
RDEPEND="${DEPEND}
|
||
8 years ago
|
${PYTHON_DEPS}
|
||
8 years ago
|
dev-perl/DBI
|
||
|
dev-perl/Statistics-Descriptive
|
||
|
sci-biology/mummer"
|
||
|
|
||
|
PATCHES=(
|
||
|
"${FILESDIR}"/${P}-gcc-4.7.patch
|
||
|
"${FILESDIR}"/${P}-goBambus2.py-indent-and-cleanup.patch
|
||
|
"${WORKDIR}"/${P}-fix-c++14.patch
|
||
|
"${FILESDIR}"/${P}-qa-Wformat.patch
|
||
8 years ago
|
"${FILESDIR}"/${P}-fix-build-system.patch
|
||
8 years ago
|
)
|
||
|
|
||
8 years ago
|
src_prepare() {
|
||
8 years ago
|
default
|
||
8 years ago
|
eautoreconf
|
||
8 years ago
|
|
||
8 years ago
|
# prevent GCC 6 log pollution due
|
||
|
# to hash_map deprecation in C++11
|
||
|
append-cxxflags -Wno-cpp
|
||
8 years ago
|
}
|
||
|
|
||
7 years ago
|
src_configure() {
|
||
7 years ago
|
econf --with-qmake-qt4=no
|
||
7 years ago
|
}
|
||
|
|
||
8 years ago
|
src_install() {
|
||
|
default
|
||
8 years ago
|
python_fix_shebang "${ED%/}"/usr/bin/goBambus2
|
||
8 years ago
|
}
|