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

(-)systemtap-2.1.ebuild (-7 / +6 lines)
Lines 2-12 Link Here
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/dev-util/systemtap/systemtap-2.1.ebuild,v 1.1 2013/02/16 17:51:26 swegener Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-2.1.ebuild,v 1.1 2013/02/16 17:51:26 swegener Exp $
4
4
5
EAPI=4
5
EAPI=5
6
7
PYTHON_DEPEND="2"
8
6
9
inherit linux-info autotools eutils python
7
PYTHON_COMPAT=( python2_7 )
8
inherit linux-info autotools eutils python-single-r1
10
9
11
DESCRIPTION="A linux trace/probe tool"
10
DESCRIPTION="A linux trace/probe tool"
12
HOMEPAGE="http://sourceware.org/systemtap/"
11
HOMEPAGE="http://sourceware.org/systemtap/"
Lines 19-24 IUSE="sqlite" Link Here
19
18
20
DEPEND=">=dev-libs/elfutils-0.142
19
DEPEND=">=dev-libs/elfutils-0.142
21
	sys-libs/libcap
20
	sys-libs/libcap
21
	${PYTHON_DEPS}
22
	sqlite? ( dev-db/sqlite:3 )"
22
	sqlite? ( dev-db/sqlite:3 )"
23
RDEPEND="${DEPEND}
23
RDEPEND="${DEPEND}
24
	virtual/linux-sources"
24
	virtual/linux-sources"
Lines 34-46 DOCS="AUTHORS HACKING NEWS README" Link Here
34
34
35
pkg_setup() {
35
pkg_setup() {
36
	linux-info_pkg_setup
36
	linux-info_pkg_setup
37
	python_set_active_version 2
37
	python-single-r1_pkg_setup
38
	python_pkg_setup
39
}
38
}
40
39
41
src_prepare() {
40
src_prepare() {
42
	epatch "${FILESDIR}"/${PN}-2.0-gettext.patch
41
	epatch "${FILESDIR}"/${PN}-2.0-gettext.patch
43
	python_convert_shebangs 2 dtrace.in
42
	python_fix_shebang .
44
43
45
	sed -i \
44
	sed -i \
46
		-e 's:-Werror::g' \
45
		-e 's:-Werror::g' \

Return to bug 459984