1 |
commit: cd7a4056fc02f9a5f6c182b4ef762511beb2f88e |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 25 22:38:39 2016 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 25 22:38:39 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd7a4056 |
7 |
|
8 |
dev-util/oprofile: remove old |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
12 |
|
13 |
dev-util/oprofile/oprofile-0.9.9-r1.ebuild | 82 ------------------------------ |
14 |
1 file changed, 82 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/oprofile/oprofile-0.9.9-r1.ebuild b/dev-util/oprofile/oprofile-0.9.9-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 65ccf5a..00000000 |
19 |
--- a/dev-util/oprofile/oprofile-0.9.9-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,82 +0,0 @@ |
22 |
-# Copyright 1999-2016 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Id$ |
25 |
- |
26 |
-EAPI="5" |
27 |
-inherit autotools eutils linux-info multilib user java-pkg-opt-2 |
28 |
- |
29 |
-MY_P=${PN}-${PV/_/-} |
30 |
-DESCRIPTION="A transparent low-overhead system-wide profiler" |
31 |
-HOMEPAGE="http://${PN}.sourceforge.net" |
32 |
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
33 |
- |
34 |
-LICENSE="GPL-2" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="alpha amd64 arm hppa ~mips ppc ppc64 sparc x86" |
37 |
-IUSE="java pch qt4" |
38 |
- |
39 |
-DEPEND=">=dev-libs/popt-1.7-r1 |
40 |
- >=sys-devel/binutils-2.14.90.0.6-r3:* |
41 |
- >=sys-libs/glibc-2.3.2-r1 |
42 |
- qt4? ( dev-qt/qtgui:4[qt3support] ) |
43 |
- java? ( >=virtual/jdk-1.5:= )" |
44 |
-RDEPEND="${DEPEND}" |
45 |
- |
46 |
-S="${WORKDIR}/${MY_P}" |
47 |
- |
48 |
-pkg_setup() { |
49 |
- linux-info_pkg_setup |
50 |
- if ! linux_config_exists || ! linux_chkconfig_present OPROFILE ; then |
51 |
- echo |
52 |
- elog "In order for ${PN} to work, you need to configure your kernel" |
53 |
- elog "with CONFIG_OPROFILE set to 'm' or 'y'." |
54 |
- echo |
55 |
- fi |
56 |
- |
57 |
- if ! kernel_is -ge 2 6 ; then |
58 |
- echo |
59 |
- elog "Support for kernels before 2.6 has been dropped in ${PN}-0.9.8." |
60 |
- echo |
61 |
- fi |
62 |
- |
63 |
- # Required for JIT support, see README_PACKAGERS |
64 |
- enewgroup ${PN} |
65 |
- enewuser ${PN} -1 -1 -1 ${PN} |
66 |
- |
67 |
- use java && java-pkg_init |
68 |
-} |
69 |
- |
70 |
-src_prepare() { |
71 |
- epatch "${FILESDIR}/${P}-gcc-4.9-non-ppc.patch" |
72 |
- epatch "${FILESDIR}/${P}-gcc-4.9-unused.patch" |
73 |
- epatch "${FILESDIR}/${PN}-1.0.0-athlon.patch" |
74 |
- epatch "${FILESDIR}/${PN}-1.1.0-gcc6.patch" |
75 |
- eautoreconf |
76 |
-} |
77 |
- |
78 |
-src_configure() { |
79 |
- econf \ |
80 |
- --disable-werror \ |
81 |
- $(use_with qt4 x) \ |
82 |
- $(use_enable qt4 gui qt4) \ |
83 |
- $(use_enable pch) \ |
84 |
- $(use_with java java ${JAVA_HOME}) |
85 |
-} |
86 |
- |
87 |
-src_install() { |
88 |
- emake DESTDIR="${D}" htmldir="/usr/share/doc/${PF}" install |
89 |
- |
90 |
- dodoc ChangeLog* README TODO |
91 |
- |
92 |
- dodir /etc/env.d |
93 |
- echo "LDPATH=${PREFIX}/usr/$(get_libdir)/${PN}" > "${D}"/etc/env.d/10${PN} || die "env.d failed" |
94 |
-} |
95 |
- |
96 |
-pkg_postinst() { |
97 |
- echo |
98 |
- elog "Now load the ${PN} module by running:" |
99 |
- elog " # opcontrol --init" |
100 |
- elog "Then read manpages and this html doc:" |
101 |
- elog " /usr/share/doc/${PF}/${PN}.html" |
102 |
- echo |
103 |
-} |