blob: a51e6d53b2570742e931c637242a9a70f5cb5e71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/wavemon-0.4.0b.ebuild,v 1.11 2005/07/10 02:15:58 swegener Exp $
inherit eutils
DESCRIPTION="ncurses based monitor util for your wavelan cards"
SRC_URI="mirror://gentoo/${P}.tar.gz"
HOMEPAGE="http://www.janmorgenstern.de/projects-software.html"
IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc ~amd64"
DEPEND="sys-libs/ncurses"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/wavemon-gcc-fixes.patch
cd ${S}
mv configure configure.orig
sed -e "s|^CFLAGS=\".*\"|CFLAGS=\"${CFLAGS}\"|" \
configure.orig > configure
chmod +x configure
}
src_install() {
dodir /usr/bin /usr/share/man/{man1,man5}
make prefix="${D}/usr" mandir="${D}/usr/share/man" install
dodoc README TODO COPYING AUTHORS
}
|