| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-block/seekwatcher/seekwatcher-0.12.ebuild,v 1.1 2009/11/04 08:23:42 robbat2 Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
PYTHON_DEPEND="2"
|
| 7 |
|
| 8 |
inherit eutils distutils
|
| 9 |
|
| 10 |
DESCRIPTION="Seekwatcher generates graphs from blktrace runs to help visualize IO patterns and performance."
|
| 11 |
HOMEPAGE="http://oss.oracle.com/~mason/seekwatcher/"
|
| 12 |
#SRC_URI="http://oss.oracle.com/~mason/seekwatcher/${P}.tar.bz2"
|
| 13 |
SRC_URI="http://dev.gentoo.org/~slyfox/${P}.tar.gz"
|
| 14 |
|
| 15 |
LICENSE="GPL-2"
|
| 16 |
SLOT="0"
|
| 17 |
KEYWORDS="~amd64 ~ppc ~x86"
|
| 18 |
IUSE=""
|
| 19 |
|
| 20 |
DEPEND="dev-python/pyrex"
|
| 21 |
RDEPEND="dev-python/matplotlib
|
| 22 |
dev-python/numpy
|
| 23 |
>=sys-block/btrace-0.0.20070730162628"
|
| 24 |
|
| 25 |
S=${WORKDIR}/${PN}-b392aeaf693b # hg snapshot
|
| 26 |
|
| 27 |
pkg_setup() {
|
| 28 |
python_set_active_version 2
|
| 29 |
python_pkg_setup
|
| 30 |
}
|
| 31 |
|
| 32 |
src_prepare() {
|
| 33 |
epatch "${FILESDIR}"/${P}-dash-fix.patch
|
| 34 |
|
| 35 |
distutils_src_prepare
|
| 36 |
}
|
| 37 |
|
| 38 |
pkg_postinst() {
|
| 39 |
distutils_pkg_postinst
|
| 40 |
|
| 41 |
elog "If you want to generate IO-movies from captured data, you must"
|
| 42 |
elog "install at least one of the following packages:"
|
| 43 |
elog "- media-video/mplayer with USE=encode"
|
| 44 |
elog "- media-libs/libtheora with USE=examples"
|
| 45 |
}
|