/[gentoo-x86]/net-wireless/wavemon/wavemon-0.7.6.ebuild
Gentoo

Contents of /net-wireless/wavemon/wavemon-0.7.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Aug 2 18:30:54 2014 UTC (3 years, 10 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
sparc stable wrt #516690

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF6AD3240)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/wavemon-0.7.6.ebuild,v 1.4 2014/07/19 20:48:42 jer Exp $
4
5 EAPI="5"
6
7 AUTOTOOLS_AUTORECONF=1
8 AUTOTOOLS_IN_SOURCE_BUILD=1
9
10 inherit autotools-utils flag-o-matic toolchain-funcs
11
12 DESCRIPTION="Ncurses based monitor for IEEE 802.11 wireless LAN cards"
13 HOMEPAGE="http://eden-feed.erg.abdn.ac.uk/wavemon/"
14 SRC_URI="http://eden-feed.erg.abdn.ac.uk/wavemon/stable-releases/${P}.tar.bz2"
15
16 LICENSE="GPL-3"
17 SLOT="0"
18 KEYWORDS="amd64 arm hppa ppc sparc x86"
19
20 IUSE="caps"
21 RDEPEND="sys-libs/ncurses
22 caps? ( sys-libs/libcap )"
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig"
25
26 DOCS=( AUTHORS ChangeLog NEWS README THANKS )
27 PATCHES=(
28 "${FILESDIR}/${PN}-0.6.7-dont-override-CFLAGS.patch"
29 "${FILESDIR}/${P}-ncurses-tinfo.patch"
30 )
31
32 src_prepare() {
33 # Do not install docs to /usr/share
34 sed -i -e '/^install:/s/install-docs//' Makefile.in || die 'sed on Makefile.in failed'
35
36 # automagic on libcap, discovered in bug #448406
37 use caps || export ac_cv_lib_cap_cap_get_flag=false
38
39 # Respect CC, fix linking
40 tc-export CC
41 append-ldflags -pthread
42
43 autotools-utils_src_prepare
44 }
45
46 src_install() {
47 autotools-utils_src_install
48 # Install man files manually(bug #397807)
49 doman wavemon.1
50 doman wavemonrc.5
51 }

  ViewVC Help
Powered by ViewVC 1.1.20