diff --git a/net-wireless/hcxdumptool/Manifest b/net-wireless/hcxdumptool/Manifest index d2a921de2..5de4c297e 100644 --- a/net-wireless/hcxdumptool/Manifest +++ b/net-wireless/hcxdumptool/Manifest @@ -1 +1,2 @@ DIST hcxdumptool-4.2.1.tar.gz 44248 BLAKE2B 6088a2a43e5bd33e12600457db356d23c9fcb2919313fabe9d4f72380804183b04c607c3bf18dded2a6d3e63d1a2db49c2a428d7dd33ee937d410fd890655c6c SHA512 af73b5c434614214ef868153ab98f59bea35c81643bad04930c96043b1518c0eaf3aa57a218c8313e73575e496b2b937d2de14ff8767b64918dbce6373f9fc41 +DIST hcxdumptool-5.0.0.tar.gz 52269 BLAKE2B 43d98f440b65df7fde7b4c0c176ca18a0943184d49bc9be4517c02dac6cc2d1eeda7bd9436979a6792e73a84a84cd54cdfc6659e98b3b5e06d3cb164a28f65fa SHA512 ee2ac03850e83a869eb5835d0cab40b15307c247c3389fd5987a75308646d7abd5439b4f5b93902069ab56fc46411e09cd6dca0d39bdfbbaf9c80b1f3dd76bd7 diff --git a/net-wireless/hcxdumptool/hcxdumptool-5.0.0.ebuild b/net-wireless/hcxdumptool/hcxdumptool-5.0.0.ebuild new file mode 100644 index 000000000..27098d748 --- /dev/null +++ b/net-wireless/hcxdumptool/hcxdumptool-5.0.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Small tool to capture packets from wlan devices" +HOMEPAGE="https://github.com/ZerBea/hcxdumptool" +SRC_URI="https://github.com/ZerBea/hcxdumptool/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="gpio" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_configure(){ + local GPIOSUPPORT + if use gpio; then + GPIOSUPPORT="GPIOSUPPORT=on" + fi + emake ${GPIOSUPPORT} +} + +src_install(){ + emake ${GPIOSUPPORT} DESTDIR="${ED}" PREFIX="${EPREFIX}/usr" install +}