diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2008-11-27 15:27:25 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2008-11-27 15:27:25 +0000 |
commit | 9581225b5d526c0da202d5b1b4cadf66e640b90c (patch) | |
tree | 632bd63575814cf950315929520637510963691b /net-wireless/crda | |
parent | Initial commit, ebuild by me. (diff) | |
download | gentoo-2-9581225b5d526c0da202d5b1b4cadf66e640b90c.tar.gz gentoo-2-9581225b5d526c0da202d5b1b4cadf66e640b90c.tar.bz2 gentoo-2-9581225b5d526c0da202d5b1b4cadf66e640b90c.zip |
Initial commit, ebuild & patch by me. Will send upstream.
(Portage version: 2.1.6_rc1/cvs/Linux 2.6.28-rc6-00007-ged31348-dirty x86_64)
Diffstat (limited to 'net-wireless/crda')
-rw-r--r-- | net-wireless/crda/ChangeLog | 10 | ||||
-rw-r--r-- | net-wireless/crda/crda-0.9.4.ebuild | 33 | ||||
-rw-r--r-- | net-wireless/crda/files/0.9.4-as-needed.patch | 21 | ||||
-rw-r--r-- | net-wireless/crda/metadata.xml | 13 |
4 files changed, 77 insertions, 0 deletions
diff --git a/net-wireless/crda/ChangeLog b/net-wireless/crda/ChangeLog new file mode 100644 index 000000000000..b07899c8f03f --- /dev/null +++ b/net-wireless/crda/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-wireless/crda +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/crda/ChangeLog,v 1.1 2008/11/27 15:27:20 chainsaw Exp $ + +*crda-0.9.4 (27 Nov 2008) + + 27 Nov 2008; <chainsaw@gentoo.org> +files/0.9.4-as-needed.patch, + +metadata.xml, +crda-0.9.4.ebuild: + Initial commit, ebuild & patch by me. Will send upstream. + diff --git a/net-wireless/crda/crda-0.9.4.ebuild b/net-wireless/crda/crda-0.9.4.ebuild new file mode 100644 index 000000000000..4f5c43f916c7 --- /dev/null +++ b/net-wireless/crda/crda-0.9.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/crda/crda-0.9.4.ebuild,v 1.1 2008/11/27 15:27:20 chainsaw Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Central Regulatory Domain Agent for wireless networks." +HOMEPAGE="http://wireless.kernel.org/en/developers/Regulatory" +SRC_URI="http://wireless.kernel.org/download/crda/${P}.tar.bz2" +LICENSE="as-is" +SLOT="0" + +KEYWORDS="~amd64" +IUSE="" +DEPEND="dev-libs/libgcrypt + dev-libs/libnl + dev-python/m2crypto + net-wireless/wireless-regdb" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PV}-as-needed.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" || die "Compilation failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} diff --git a/net-wireless/crda/files/0.9.4-as-needed.patch b/net-wireless/crda/files/0.9.4-as-needed.patch new file mode 100644 index 000000000000..d9ef0bd6a808 --- /dev/null +++ b/net-wireless/crda/files/0.9.4-as-needed.patch @@ -0,0 +1,21 @@ +--- crda-0.9.4/Makefile.orig 2008-11-27 14:44:02.000000000 +0000 ++++ crda-0.9.4/Makefile 2008-11-27 14:45:59.000000000 +0000 +@@ -35,15 +35,15 @@ + + crda: keys-ssl.c keys-gcrypt.c reglib.o crda.o + $(NQ) ' LD ' $@ +- $(Q)$(CC) $(CFLAGS) $(LDFLAGS) `pkg-config --libs libnl-1` -o $@ reglib.o crda.o ++ $(Q)$(CC) $(CFLAGS) `pkg-config --libs libnl-1` -o $@ reglib.o crda.o $(LDFLAGS) + + regdbdump: keys-ssl.c keys-gcrypt.c reglib.o regdbdump.o + $(NQ) ' LD ' $@ +- $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o regdbdump.o ++ $(Q)$(CC) $(CFLAGS) -o $@ reglib.o regdbdump.o $(LDFLAGS) + + intersect: keys-ssl.c keys-gcrypt.c reglib.o intersect.o + $(NQ) ' LD ' $@ +- $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o intersect.o ++ $(Q)$(CC) $(CFLAGS) -o $@ reglib.o intersect.o $(LDFLAGS) + + verify: $(REG_BIN) regdbdump + $(NQ) ' CHK $(REG_BIN)' diff --git a/net-wireless/crda/metadata.xml b/net-wireless/crda/metadata.xml new file mode 100644 index 000000000000..c88850caebd0 --- /dev/null +++ b/net-wireless/crda/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> + <herd>mobile</herd> + <longdescription lang="en"> + Firmware image for Intel Wireless 5000 series network cards + </longdescription> +</pkgmetadata> + |