Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 499038
Collapse All | Expand All

(-)/usr/portage/sci-biology/express/express-0.9.5.ebuild (-6 / +7 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2012 Gentoo Foundation
1
# Copyright 1999-2014 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sci-biology/express/express-0.9.5.ebuild,v 1.3 2012/11/09 14:39:17 jlec Exp $
3
# $Header: $
4
4
5
EAPI=4
5
EAPI=5
6
6
7
inherit cmake-utils
7
inherit cmake-utils
8
8
Lines 13-22 Link Here
13
LICENSE="Artistic"
13
LICENSE="Artistic"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~amd64 ~x86"
15
KEYWORDS="~amd64 ~x86"
16
IUSE=""
17
16
18
DEPEND="
17
DEPEND="
19
	dev-libs/boost
18
	>=dev-libs/boost-1.52.0:=
20
	sys-libs/zlib
19
	sys-libs/zlib
21
	sci-biology/bamtools"
20
	sci-biology/bamtools"
22
RDEPEND="${DEPEND}"
21
RDEPEND="${DEPEND}"
Lines 28-35 Link Here
28
src_prepare() {
27
src_prepare() {
29
	sed \
28
	sed \
30
		-e 's|"${CMAKE_CURRENT_SOURCE_DIR}/../bamtools/lib/libbamtools.a"|bamtools|' \
29
		-e 's|"${CMAKE_CURRENT_SOURCE_DIR}/../bamtools/lib/libbamtools.a"|bamtools|' \
31
		-e '1 a find_package(Boost 1.46 COMPONENTS filesystem program_options thread)' \
30
		-e '1 a find_package(Boost 1.52 COMPONENTS filesystem program_options system thread)' \
32
		-e '1 a find_package(ZLIB)' \
31
		-e '1 a find_package(ZLIB)' \
33
		-e '/add_executable/ a include_directories("/usr/include/bamtools")' \
32
		-e '/add_executable/ a include_directories("/usr/include/bamtools")' \
34
		-i src/CMakeLists.txt || die
33
		-i src/CMakeLists.txt || die
34
35
	cmake-utils_src_prepare
35
}
36
}

Return to bug 499038