# Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Authour: Mikael Hallendal # $Header: /var/cvsroot/gentoo-x86/gnome-extra/wavelan-applet/wavelan-applet-0.5.ebuild,v 1.1 2001/12/06 16:47:55 hallski Exp $ S=${WORKDIR}/${P} DESCRIPTION="GNOME Panel applet that shows the strength of a wavelan connection" SRC_URI="http://www.eskil.org/${PN}/${P}.tar.gz" HOMEPAGE="http://www.eskil.org/wavelan-applet/" RDEPEND=">=gnome-base/gnome-core-1.2.12 >=gnome-base/eel-1.0.2 >=gnome-base/libglade-0.17-r2" DEPEND="${RDEPEND} sys-devel/gettext" src_unpack() { unpack ${A} cd ${S} patch -p1 < ${FILESDIR}/wavelan-0.5-nosegfault.patch } src_compile() { ./configure --host=${CHOST} \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib assert "Package configuration failed." emake || die "Package building failed." } src_install() { make prefix=${D}/usr \ sysconfdir=${D}/etc \ localstatedir=${D}/var/lib \ install || die dodoc AUTHORS COPYING* ChangeLog README NEWS }