diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-wireless/wavemon/wavemon-0.7.6.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-wireless/wavemon/wavemon-0.7.6.ebuild')
-rw-r--r-- | net-wireless/wavemon/wavemon-0.7.6.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
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..7ec63ce5a34d --- /dev/null +++ b/net-wireless/wavemon/wavemon-0.7.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |