From cb34e0d386e63cb8473d12834bc2a362a25c26ac Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Mon, 10 Mar 2025 11:18:42 +0800 Subject: [PATCH] hcxdumptool-6.3.5.ebuild --- net-wireless/hcxdumptool/Manifest | 1 + .../hcxdumptool/hcxdumptool-6.3.5.ebuild | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 net-wireless/hcxdumptool/hcxdumptool-6.3.5.ebuild diff --git a/net-wireless/hcxdumptool/Manifest b/net-wireless/hcxdumptool/Manifest index 91837e658..4e3f4c20d 100644 --- a/net-wireless/hcxdumptool/Manifest +++ b/net-wireless/hcxdumptool/Manifest @@ -1 +1,2 @@ DIST hcxdumptool-6.3.4.tar.gz 126203 BLAKE2B 366316ede554c0363b2dde2bb78af4e4a51ed2aa914b278cc393f519a1d65be61d5639ad1bcfaa711c8d04b624fed22c7d20cbb92e55fc4af7917d3eb1ea1c34 SHA512 95de18371c7cf38dadde6cdd462c9cbf4549d6f8752534e070dd8c6bad9ee57ab319cb07dc142b53feda75dc6f71115240a0b5a7ce1c237a4fc209025a0de9bd +DIST hcxdumptool-6.3.5.tar.gz 412581 BLAKE2B c87806e6cd638d3c63fd4e6d10698677fca80c023adcba567b8bb9907354588b1386dd3cae633fd3545eaf14c7ec0b54daf292f5f5289571ab90d8b646aa6cbb SHA512 372dcf4afad7608649b78857407d896bc8f0d050c1a7b0c75101bebc10a08cabf5257fce467ea3b99c06912d969ebc68d3b8699c93c7e26da7962f72947112fc diff --git a/net-wireless/hcxdumptool/hcxdumptool-6.3.5.ebuild b/net-wireless/hcxdumptool/hcxdumptool-6.3.5.ebuild new file mode 100644 index 000000000..f33d35fa2 --- /dev/null +++ b/net-wireless/hcxdumptool/hcxdumptool-6.3.5.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="gpio" + +DEPEND="dev-libs/openssl:= + net-libs/libpcap" +RDEPEND="${DEPEND}" + +src_compile() { + emake $(usex gpio \ + "GPIOSUPPORT=on" \ + "GPIOSUPPORT=off") +} + +src_install(){ + emake DESTDIR="${ED}" PREFIX="${EPREFIX}/usr" install +}