/[gentoo-x86]/x11-misc/lavaps/lavaps-2.7-r2.ebuild
Gentoo

Contents of /x11-misc/lavaps/lavaps-2.7-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat May 30 00:27:00 2009 UTC (9 years, 2 months ago) by darkside
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove x11-misc/lavaps, bug 227743

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-misc/lavaps/lavaps-2.7-r2.ebuild,v 1.5 2009/05/05 17:43:28 ssuominen Exp $
4
5 inherit autotools eutils
6
7 DESCRIPTION="Lava Lamp graphical representation of running processes."
8 HOMEPAGE="http://www.isi.edu/~johnh/SOFTWARE/LAVAPS/"
9 SRC_URI="http://www.isi.edu/~johnh/SOFTWARE/LAVAPS/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ppc ~x86"
14 IUSE="gtk"
15
16 RDEPEND=">=dev-lang/tk-8.3.3
17 gtk? ( >=x11-libs/gtk+-2.2
18 >=gnome-base/libgnomecanvas-2.2
19 >=gnome-base/libgnomeui-2.2 )
20 !gtk? ( dev-lang/tcl )"
21 DEPEND="${RDEPEND}
22 gtk? ( dev-util/intltool )"
23
24 src_unpack() {
25 unpack ${A}
26 cd "${S}"
27 epatch "${FILESDIR}/${P}-this-makes-it-compile.patch"
28 epatch "${FILESDIR}/${P}-build-fixes.patch"
29 epatch "${FILESDIR}/${P}-gcc43.patch"
30 #We need to get rid of the old macros.
31 rm acinclude.m4
32 #Update to newer namespace.
33 sed -i \
34 -e "s:AC_PROG_INTLTOOL:IT_PROG_INTLTOOL:" \
35 -e "s:AM_GLIB_GNU_GETTEXT:GLIB_GNU_GETTEXT:" \
36 configure.gtk.ac
37 eautoreconf
38 }
39
40 src_compile() {
41 local myconf="--with-x"
42 use gtk && myconf="${myconf} --with-gtk" \
43 || myconf="${myconf} --with-tcltk"
44
45 econf ${myconf} || die "econf failed"
46 emake || die "emake failed"
47 }
48
49 src_install() {
50 emake DESTDIR="${D}" install || die "make install failed"
51 dodoc README
52 doman doc/lavaps.1
53 dohtml doc/*.html
54 }

  ViewVC Help
Powered by ViewVC 1.1.20