diff options
author | 2008-11-15 15:14:12 +0900 | |
---|---|---|
committer | 2008-11-15 15:14:12 +0900 | |
commit | 9675b24372ece3a6e1338a82f2baba596ad411f3 (patch) | |
tree | 69c224d33fb7b7121adc9c4d13a701172a918c55 /net-wireless | |
parent | ditto (diff) | |
download | matsuu-9675b24372ece3a6e1338a82f2baba596ad411f3.tar.gz matsuu-9675b24372ece3a6e1338a82f2baba596ad411f3.tar.bz2 matsuu-9675b24372ece3a6e1338a82f2baba596ad411f3.zip |
net-wireless/iw: initial import.
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/iw/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/iw/iw-0.9.6.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/net-wireless/iw/Manifest b/net-wireless/iw/Manifest new file mode 100644 index 0000000..8199bd1 --- /dev/null +++ b/net-wireless/iw/Manifest @@ -0,0 +1,2 @@ +DIST iw-0.9.6.tar.bz2 17967 RMD160 40ee37170b6b702f6bab1535d2b822bbe3ca420c SHA1 cb7fd857344de0c39c25883e63d5f6b80aa9cecc SHA256 8cbe33e262f250bdd098218fd405bd61860f4f0b5299b144acd1fb6773dfb9f8 +EBUILD iw-0.9.6.ebuild 773 RMD160 22fb79fa76dac52557196402bb2d13174005571f SHA1 ab146ab13b62edb24b4614cd6a15a2c6458afafb SHA256 e2b8c076d21125a3405db910a9e2f8164d7c5429b72ecda3f94a9a6ed678d9c1 diff --git a/net-wireless/iw/iw-0.9.6.ebuild b/net-wireless/iw/iw-0.9.6.ebuild new file mode 100644 index 0000000..86b81a1 --- /dev/null +++ b/net-wireless/iw/iw-0.9.6.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit toolchain-funcs + +DESCRIPTION="nl80211-based CLI configuration utility for wireless devices" +HOMEPAGE="http://wireless.kernel.org/en/users/Documentation/iw" +SRC_URI="http://wireless.kernel.org/download/${PN}/${P}.tar.bz2" + +LICENSE="iw" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-libs/libnl-1.0_pre8" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.22" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "/^CC/s:gcc:$(tc-getCC):" \ + -e "/^CFLAGS/s:-O2 -g:${CFLAGS}:" \ + Makefile || die + sed -i \ + -e "/^\.B ip/s:ip:iw:" \ + iw.8 || die +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README +} |