diff options
Diffstat (limited to 'net-wireless/iw')
-rw-r--r-- | net-wireless/iw/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/iw/iw-5.3.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/net-wireless/iw/Manifest b/net-wireless/iw/Manifest index 209c03bcac55..4182aa809acc 100644 --- a/net-wireless/iw/Manifest +++ b/net-wireless/iw/Manifest @@ -5,3 +5,4 @@ DIST iw-4.3.tar.xz 98400 BLAKE2B 7e76c85c43d82aed93827d8e534b10f9bbb96ba4e807481 DIST iw-4.7.tar.xz 101800 BLAKE2B 3bdf49c2717e40ffff0ef78965d6252f0162577ccae945d46706f7900344b8c2a7900b1d336c9840a742ae3e7584e9bfc431ceea00ef104728b2bb48a065c41e SHA512 a43a61f6b10f1dc7ba69eea679aa82f041c8574f1323107581ee30e57296cdbaba80519a3e7d470ff3bbf2a7c2c7b687aae4839eb04b8938db1dacdb4610f5a1 DIST iw-4.9.tar.xz 105764 BLAKE2B ad8105df91c4717293d5595b5ed9b4d022e455c608d70d1aeefc3d5516dcf92e507f38f424eca60f9d819e998286a4094a83002a1b9aaf4e204ca7a02fded67e SHA512 3c99d8fc07d6d85b8304ff34b96573e22af65aea688a8cb08051ce4857d7ce9ac32a5acd3b30157c6c78e942f84a18f9229c17e353b7a6d01c80324729af18b3 DIST iw-5.0.1.tar.xz 132664 BLAKE2B a3b48f379f927440e08cf9794c6fca3a888a753b391188900a0975eb997b0f904075b3f22f6882d1b44d0bcd7484fdd639484d5901b6d02cc4d5d8158d545f93 SHA512 98764c1be7c63f86cc10193319e18c216a3f9a323444723b2949db0738ff8fcff04e6d78c035b5448c083d825a4b4cde27ec607539ec79b1898af73a7969c544 +DIST iw-5.3.tar.xz 136912 BLAKE2B 94355d946987be62e7cf7a3515b7e78d19995bc9a2689fc107fef4b2ff81d304d330a6e779adb03385feb92320c29e8bc6f1ec06b2c2dae115fe728213e32c76 SHA512 986fb7cf37cc3cab7b4058b5b73fadf1dc101fa764a144c9e4fc400d2327429df53fefbd4ea9ee63821e793a4118d468012a857800521ecf9973a7b9428229c9 diff --git a/net-wireless/iw/iw-5.3.ebuild b/net-wireless/iw/iw-5.3.ebuild new file mode 100644 index 000000000000..a57c13b08c49 --- /dev/null +++ b/net-wireless/iw/iw-5.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="nl80211-based configuration utility for wireless devices using the mac80211 kernel stack" +HOMEPAGE="https://wireless.kernel.org/en/users/Documentation/iw" +SRC_URI="https://www.kernel.org/pub/software/network/${PN}/${P}.tar.xz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="dev-libs/libnl:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + tc-export CC LD PKG_CONFIG + + # do not compress man pages by default. + sed 's@\(iw\.8\)\.gz@\1@' -i Makefile || die +} + +src_compile() { + CFLAGS="${CFLAGS} ${CPPFLAGS}" \ + LDFLAGS="${CFLAGS} ${LDFLAGS}" \ + emake V=1 +} + +src_install() { + emake V=1 DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install +} |