32 lines
833 B
Bash
32 lines
833 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sci-biology/goby-cpp/goby-cpp-2.0.1.ebuild,v 1.1 2012/07/19 10:46:06 jlec Exp $
|
|
|
|
EAPI=4
|
|
|
|
AUTOTOOLS_AUTORECONF=yes
|
|
|
|
inherit autotools-utils
|
|
|
|
DESCRIPTION="A DNA sequencing data management framework - C/C++ API"
|
|
HOMEPAGE="http://campagnelab.org/software/goby/"
|
|
SRC_URI="http://chagall.med.cornell.edu/goby/releases/archive/release-goby_${PV}/goby_${PV}-cpp.zip"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="static-libs"
|
|
|
|
DEPEND="
|
|
>=dev-libs/protobuf-2.4.1
|
|
>=dev-libs/libpcre-8.12"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${WORKDIR}/${PV}/cpp"
|
|
|
|
src_prepare() {
|
|
sed \
|
|
-e '/BUILD_TIMESTAMP/s:\(goby/timestamp.h\):$(top_srcdir)/src/\1:g' \
|
|
-i src/Makefile.am || die
|
|
autotools-utils_src_prepare
|
|
}
|