public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/oprofile: ChangeLog oprofile-0.9.7_rc4.ebuild oprofile-0.9.7_rc3.ebuild
@ 2011-08-05 11:51 Peter Volkov (pva)
  0 siblings, 0 replies; only message in thread
From: Peter Volkov (pva) @ 2011-08-05 11:51 UTC (permalink / raw
  To: gentoo-commits

pva         11/08/05 11:51:51

  Modified:             ChangeLog
  Added:                oprofile-0.9.7_rc4.ebuild
  Removed:              oprofile-0.9.7_rc3.ebuild
  Log:
  Bump release candidate.
  
  (Portage version: 2.1.10.10/cvs/Linux x86_64)

Revision  Changes    Path
1.77                 dev-util/oprofile/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/ChangeLog?rev=1.77&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/ChangeLog?rev=1.77&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/ChangeLog?r1=1.76&r2=1.77

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- ChangeLog	23 Jul 2011 14:25:23 -0000	1.76
+++ ChangeLog	5 Aug 2011 11:51:51 -0000	1.77
@@ -1,6 +1,12 @@
 # ChangeLog for dev-util/oprofile
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.76 2011/07/23 14:25:23 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.77 2011/08/05 11:51:51 pva Exp $
+
+*oprofile-0.9.7_rc4 (05 Aug 2011)
+
+  05 Aug 2011; Peter Volkov <pva@gentoo.org> -oprofile-0.9.7_rc3.ebuild,
+  +oprofile-0.9.7_rc4.ebuild:
+  Bump release candidate.
 
 *oprofile-0.9.7_rc3 (23 Jul 2011)
 



1.1                  dev-util/oprofile/oprofile-0.9.7_rc4.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/oprofile-0.9.7_rc4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/oprofile-0.9.7_rc4.ebuild?rev=1.1&content-type=text/plain

Index: oprofile-0.9.7_rc4.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.7_rc4.ebuild,v 1.1 2011/08/05 11:51:51 pva Exp $

EAPI=2
inherit eutils linux-info java-pkg-opt-2

MY_P=${PN}-${PV/_/-}
DESCRIPTION="A transparent low-overhead system-wide profiler"
HOMEPAGE="http://oprofile.sourceforge.net"
SRC_URI="mirror://sourceforge/oprofile/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="java pch qt4"

DEPEND=">=dev-libs/popt-1.7-r1
	>=sys-devel/binutils-2.14.90.0.6-r3
	>=sys-libs/glibc-2.3.2-r1
	qt4? ( x11-libs/qt-gui[qt3support] )
	java? ( >=virtual/jdk-1.5 )"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${MY_P}"

pkg_setup() {
	linux-info_pkg_setup
	if ! linux_config_exists || ! linux_chkconfig_present OPROFILE; then
		elog "In order for oprofile to work, you need to configure your kernel"
		elog "with CONFIG_OPROFILE set to 'm' or 'y'."
	fi

	# Required for JIT support, see README_PACKAGERS
	enewgroup oprofile
	enewuser oprofile -1 -1 -1 oprofile

	#sed -i -e "s/depmod -a/:/g" Makefile.in

	use java && java-pkg_init
}

src_configure() {
	econf \
		--with-kernel-support \
		$(use_with qt4 x) \
		$(use_enable qt4 gui qt4) \
		$(use_enable pch) \
		$(use_with java java ${JAVA_HOME})
}

src_install() {
	emake DESTDIR="${D}" htmldir="/usr/share/doc/${PF}" install || die

	dodoc ChangeLog* README TODO

	dodir /etc/env.d
	echo "LDPATH=${PREFIX}/usr/$(get_libdir)/oprofile" > "${D}"/etc/env.d/10${PN} || die "env.d failed"
}

pkg_postinst() {
	echo
	elog "Now load the oprofile module by running:"
	elog "  # opcontrol --init"
	elog "Then read manpages and this html doc:"
	elog "  /usr/share/doc/${PF}/oprofile.html"
	echo
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-05 11:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-05 11:51 [gentoo-commits] gentoo-x86 commit in dev-util/oprofile: ChangeLog oprofile-0.9.7_rc4.ebuild oprofile-0.9.7_rc3.ebuild Peter Volkov (pva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox