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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jan 15 19:55:39 2010 UTC (4 years, 7 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
LICENSE is identical with BSD, bug 301123.
(Portage version: 2.2_rc61/cvs/Linux i686)

1 # Copyright 1999-2010 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-r1.ebuild,v 1.1 2009/09/26 14:08:50 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.patch
28 eautoreconf
29 }
30
31 src_compile() {
32 local myconf=
33
34 # don't do bi-arch cruft on hosts that support that, such as Solaris
35 export enable_dualarch=no
36
37 # configure demands an override because on OSX this is "experimental"
38 [[ ${CHOST} == *-darwin* ]] && myconf="${myconf} --with-module=macosx"
39
40 econf ${myconf} || die
41 emake || die
42 }
43
44 src_install() {
45 emake DESTDIR="${D}" install
46 dodoc README FAQ Y2K
47 }

  ViewVC Help
Powered by ViewVC 1.1.20