blob: 77b00428f2fbe7474ec8501cd9881744cb41aa2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.0.9.ebuild,v 1.2 2008/02/29 18:00:10 carlo Exp $
inherit eutils linux-mod autotools subversion
DESCRIPTION="System-wide Linux Profiler"
HOMEPAGE="http://www.daimi.au.dk/~sandmann/sysprof/"
#SRC_URI="http://www.daimi.au.dk/~sandmann/sysprof/${P}.tar.gz"
ESVN_REPO_URI="http://svn.gnome.org/svn/sysprof/trunk"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=x11-libs/gtk+-2.6
x11-libs/pango
>=gnome-base/libglade-2"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.9"
pkg_setup() {
MODULE_NAMES="sysprof-module(misc:${S}/module)"
CONFIG_CHECK="PROFILING"
PROFILING_ERROR="You need to enable Profiling support in your kernel. \
For this you need to enable 'Profiling support' under 'Instrumentation Support'. \
It is marked CONFIG_PROFILING in the config file"
BUILD_TARGETS="all"
linux-mod_pkg_setup
}
src_unpack() {
subversion_src_unpack
eautoreconf
}
src_compile() {
econf --disable-kernel-module || die
emake || die
linux-mod_src_compile
}
src_install() {
make install DESTDIR="${D}" || die
linux-mod_src_install
dodoc AUTHORS ChangeLog NEWS README TODO
make_desktop_entry sysprof Sysprof sysprof-icon
}
|