summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2014-05-16 13:42:33 +0000
committerSergey Popov <pinkbyte@gentoo.org>2014-05-16 13:42:33 +0000
commit94f37a96ca34644614b1ffa6de995ffa56feddbe (patch)
tree958e4cf33bd6eb8fa888720be4e2ca2f4f9fc537 /net-wireless/wavemon
parentLinux patch 3.12.20. (diff)
downloadgentoo-2-94f37a96ca34644614b1ffa6de995ffa56feddbe.tar.gz
gentoo-2-94f37a96ca34644614b1ffa6de995ffa56feddbe.tar.bz2
gentoo-2-94f37a96ca34644614b1ffa6de995ffa56feddbe.zip
Version bump
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-wireless/wavemon')
-rw-r--r--net-wireless/wavemon/ChangeLog8
-rw-r--r--net-wireless/wavemon/files/wavemon-0.7.6-ncurses-tinfo.patch19
-rw-r--r--net-wireless/wavemon/wavemon-0.7.6.ebuild51
3 files changed, 77 insertions, 1 deletions
diff --git a/net-wireless/wavemon/ChangeLog b/net-wireless/wavemon/ChangeLog
index 24ba6b6e332d..df6b666ae0f2 100644
--- a/net-wireless/wavemon/ChangeLog
+++ b/net-wireless/wavemon/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/wavemon
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/ChangeLog,v 1.56 2014/03/06 07:12:56 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/ChangeLog,v 1.57 2014/05/16 13:42:33 pinkbyte Exp $
+
+*wavemon-0.7.6 (16 May 2014)
+
+ 16 May 2014; Sergey Popov <pinkbyte@gentoo.org> +wavemon-0.7.6.ebuild,
+ +files/wavemon-0.7.6-ncurses-tinfo.patch:
+ Version bump
06 Mar 2014; Sergey Popov <pinkbyte@gentoo.org> wavemon-0.7.5.ebuild,
+files/wavemon-0.7.5-ncurses-tinfo.patch:
diff --git a/net-wireless/wavemon/files/wavemon-0.7.6-ncurses-tinfo.patch b/net-wireless/wavemon/files/wavemon-0.7.6-ncurses-tinfo.patch
new file mode 100644
index 000000000000..6430a9761d79
--- /dev/null
+++ b/net-wireless/wavemon/files/wavemon-0.7.6-ncurses-tinfo.patch
@@ -0,0 +1,19 @@
+--- configure.ac.orig 2014-05-15 13:09:49.433810160 +0400
++++ configure.ac 2014-05-15 13:10:33.441813996 +0400
+@@ -21,6 +21,7 @@
+ AC_PROG_CC
+ AC_PROG_CPP
+ AC_PROG_INSTALL
++PKG_PROG_PKG_CONFIG
+
+ # Checks for header files.
+ AC_HEADER_STDC
+@@ -52,7 +53,7 @@
+
+ # Tests involving libraries
+ AC_CHECK_LIB([m], [pow], [], [AC_MSG_ERROR(math library not found)])
+-AC_CHECK_LIB([ncurses], [waddstr], [], [AC_MSG_ERROR(ncurses library not found)])
++PKG_CHECK_MODULES([ncurses], [ncurses], [LIBS="$LIBS $ncurses_LIBS"], AC_MSG_ERROR([ncurses is required but was not found]))
+ AC_CHECK_LIB([pthread], [pthread_create], [CFLAGS="$CFLAGS -pthread"],
+ [AC_MSG_ERROR(pthread library not found)])
+ AC_CHECK_LIB([cap], [cap_get_flag])
diff --git a/net-wireless/wavemon/wavemon-0.7.6.ebuild b/net-wireless/wavemon/wavemon-0.7.6.ebuild
new file mode 100644
index 000000000000..c86465969bff
--- /dev/null
+++ b/net-wireless/wavemon/wavemon-0.7.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/wavemon-0.7.6.ebuild,v 1.1 2014/05/16 13:42:33 pinkbyte Exp $
+
+EAPI="5"
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+inherit autotools-utils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Ncurses based monitor for IEEE 802.11 wireless LAN cards"
+HOMEPAGE="http://eden-feed.erg.abdn.ac.uk/wavemon/"
+SRC_URI="http://eden-feed.erg.abdn.ac.uk/wavemon/stable-releases/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+
+IUSE="caps"
+RDEPEND="sys-libs/ncurses
+ caps? ( sys-libs/libcap )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS )
+PATCHES=(
+ "${FILESDIR}/${PN}-0.6.7-dont-override-CFLAGS.patch"
+ "${FILESDIR}/${P}-ncurses-tinfo.patch"
+)
+
+src_prepare() {
+ # Do not install docs to /usr/share
+ sed -i -e '/^install:/s/install-docs//' Makefile.in || die 'sed on Makefile.in failed'
+
+ # automagic on libcap, discovered in bug #448406
+ use caps || export ac_cv_lib_cap_cap_get_flag=false
+
+ # Respect CC, fix linking
+ tc-export CC
+ append-ldflags -pthread
+
+ autotools-utils_src_prepare
+}
+
+src_install() {
+ autotools-utils_src_install
+ # Install man files manually(bug #397807)
+ doman wavemon.1
+ doman wavemonrc.5
+}