diff options
author | Michael Januszewski <spock@gentoo.org> | 2004-02-01 19:57:28 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2004-02-01 19:57:28 +0000 |
commit | 8e8a6eeba3b2d6a4c3456935dca0fb3dec1b96e8 (patch) | |
tree | 084f24e15c4ec48f550310a0bfa3ed978ea3c7da /dev-util/oprofile | |
parent | Mark stable, bug #32535 (Manifest recommit) (diff) | |
download | gentoo-2-8e8a6eeba3b2d6a4c3456935dca0fb3dec1b96e8.tar.gz gentoo-2-8e8a6eeba3b2d6a4c3456935dca0fb3dec1b96e8.tar.bz2 gentoo-2-8e8a6eeba3b2d6a4c3456935dca0fb3dec1b96e8.zip |
Version bump.
Diffstat (limited to 'dev-util/oprofile')
-rw-r--r-- | dev-util/oprofile/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/oprofile/files/digest-oprofile-0.7.1 | 1 | ||||
-rw-r--r-- | dev-util/oprofile/metadata.xml | 10 | ||||
-rw-r--r-- | dev-util/oprofile/oprofile-0.7.1.ebuild | 60 | ||||
-rw-r--r-- | dev-util/oprofile/oprofile-0.7.ebuild | 4 |
5 files changed, 81 insertions, 4 deletions
diff --git a/dev-util/oprofile/ChangeLog b/dev-util/oprofile/ChangeLog index ed0f3d8dcc64..82bb0680ef59 100644 --- a/dev-util/oprofile/ChangeLog +++ b/dev-util/oprofile/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/oprofile -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.1 2003/10/23 22:48:16 cretin Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.2 2004/02/01 19:57:28 spock Exp $ + +*oprofile-0.7.1 (01 Feb 2004) + + 01 Feb 2004; Michal Januszewski <spock@gentoo.org> metadata.xml, + oprofile-0.7.1.ebuild, oprofile-0.7.ebuild: + Version bump, closes #39715. *oprofile-0.7 (23 Oct 2003) diff --git a/dev-util/oprofile/files/digest-oprofile-0.7.1 b/dev-util/oprofile/files/digest-oprofile-0.7.1 new file mode 100644 index 000000000000..af516ed4a094 --- /dev/null +++ b/dev-util/oprofile/files/digest-oprofile-0.7.1 @@ -0,0 +1 @@ +MD5 de7c5fd12b339e5c6eecb714ea823977 oprofile-0.7.1.tar.gz 557727 diff --git a/dev-util/oprofile/metadata.xml b/dev-util/oprofile/metadata.xml new file mode 100644 index 000000000000..cbcd6f56e91e --- /dev/null +++ b/dev-util/oprofile/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>spock@gentoo.org</email> + <name>Michal Januszewski</name> + <description>Temporary maintainership.</description> +</maintainer> +</pkgmetadata> diff --git a/dev-util/oprofile/oprofile-0.7.1.ebuild b/dev-util/oprofile/oprofile-0.7.1.ebuild new file mode 100644 index 000000000000..ba517399671b --- /dev/null +++ b/dev-util/oprofile/oprofile-0.7.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.7.1.ebuild,v 1.1 2004/02/01 19:57:28 spock Exp $ + +DESCRIPTION="A transparent low-overhead system-wide profiler" +HOMEPAGE="http://oprofile.sourceforge.net" +SRC_URI="mirror://sourceforge/oprofile/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86" +# IUSE: it also needs kernel sources but all gentoo users have them +IUSE="qt" +DEPEND=">=dev-libs/popt-1.7-r1 + >=sys-devel/binutils-2.14.90.0.6-r3 + >=sys-libs/glibc-2.3.2-r1 + qt? ( >=x11-libs/qt-3.2.1-r2 )" + +src_compile() { + check_KV + + local myconf="" + + use qt || myconf="${myconf} --with-qt-dir=/void" + + myconf="${myconf} --with-x" + # note: compilation has only been tested with a 2.4 kernel + case $KV in + 2.2.*|2.4.*) myconf="${myconf} --with-linux=/usr/src/linux";; + 2.5.*|2.6.*) myconf="${myconf} --with-kernel-support";; + *) die "Kernel version '$KV' not supported";; + esac + econf ${myconf} || die "econf failed" + + local mymake="" + + sed -i -e "s,depmod -a,:,g" Makefile + emake ${mymake} || die "emake failed" +} + +src_install() { + local myinst="" + + myinst="${myinst} MODINSTALLDIR=${D}/lib/modules/${KV}" + make DESTDIR=${D} ${myinst} install || die "make install failed" + + dodoc ChangeLog* README TODO +} + +pkg_postinst() { + # media-video/nvidia-kernel does the following: + [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules + + echo + einfo "Now load the oprofile module by running:" + einfo " # opcontrol --init" + einfo "Then read manpages and this html doc:" + einfo " /usr/share/doc/oprofile/oprofile.html" + echo +} diff --git a/dev-util/oprofile/oprofile-0.7.ebuild b/dev-util/oprofile/oprofile-0.7.ebuild index 305db73164ce..543567ba899e 100644 --- a/dev-util/oprofile/oprofile-0.7.ebuild +++ b/dev-util/oprofile/oprofile-0.7.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.7.ebuild,v 1.3 2003/11/12 19:32:08 cretin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.7.ebuild,v 1.4 2004/02/01 19:57:28 spock Exp $ DESCRIPTION="A transparent low-overhead system-wide profiler" HOMEPAGE="http://oprofile.sourceforge.net" |