/[gentoo-x86]/sys-process/unixtop/unixtop-3.8_beta1-r3.ebuild
Gentoo

Contents of /sys-process/unixtop/unixtop-3.8_beta1-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed May 9 11:14:22 2012 UTC (2 years, 3 months ago) by grobian
Branch: MAIN
Revbump for some patches from Oracle/OpenIndiana

(Portage version: 2.2.01.20430-prefix/cvs/SunOS i386)

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-process/unixtop/unixtop-3.8_beta1-r2.ebuild,v 1.1 2010/01/25 18:36:49 grobian Exp $
4
5 inherit eutils autotools
6
7 DESCRIPTION="top for UNIX systems"
8 HOMEPAGE="http://unixtop.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/unixtop/top-${PV/_/}.tar.bz2"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
14 IUSE=""
15
16 RDEPEND="sys-libs/ncurses"
17 DEPEND="${RDEPEND}"
18
19 S=${WORKDIR}/top-${PV/_/}
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 epatch "${FILESDIR}"/${P}-ncurses.patch
25 epatch "${FILESDIR}"/${P}-no-AX-macros.patch
26 epatch "${FILESDIR}"/${P}-renice-segfault.patch
27 epatch "${FILESDIR}"/${P}-memleak-fix-v2.patch
28 epatch "${FILESDIR}"/${P}-high-threadid-crash.patch
29 epatch "${FILESDIR}"/${P}-percent-cpu.patch
30 eautoreconf
31 }
32
33 src_compile() {
34 local myconf=
35
36 # don't do bi-arch cruft on hosts that support that, such as Solaris
37 export enable_dualarch=no
38
39 # configure demands an override because on OSX this is "experimental"
40 [[ ${CHOST} == *-darwin* ]] && myconf="${myconf} --with-module=macosx"
41
42 econf ${myconf} || die
43 emake || die
44 }
45
46 src_install() {
47 emake DESTDIR="${D}" install
48 dodoc README FAQ Y2K
49 }

  ViewVC Help
Powered by ViewVC 1.1.20