blob: 67be0a0bc3749df6a198a8bbc1246f4e936bd195 (
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.1.1.1 2005/11/30 09:45:37 chriswhite 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
}
|