All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] python-m2crypto-native: Add recipe
@ 2010-05-04 20:26 Eric Benard
  2010-05-04 20:26 ` [PATCH 2/2] crda: add version 1.1.1 Eric Benard
  2010-05-04 20:34 ` [PATCH 1/2] python-m2crypto-native: Add recipe Tom Rini
  0 siblings, 2 replies; 5+ messages in thread
From: Eric Benard @ 2010-05-04 20:26 UTC (permalink / raw)
  To: openembedded-devel

- this package is needed to compile crda

Signed-off-by: Eric Benard <eric@eukrea.com>
---
 recipes/python/python-m2crypto-native_0.18.2.bb |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 recipes/python/python-m2crypto-native_0.18.2.bb

diff --git a/recipes/python/python-m2crypto-native_0.18.2.bb b/recipes/python/python-m2crypto-native_0.18.2.bb
new file mode 100644
index 0000000..4a28464
--- /dev/null
+++ b/recipes/python/python-m2crypto-native_0.18.2.bb
@@ -0,0 +1,12 @@
+require python-m2crypto_${PV}.bb
+inherit native
+
+FILESPATH = "${FILE_DIRNAME}/python-m2crypto"
+DEPENDS = "python-native"
+
+do_stage() {
+	distutils_stage_all
+}
+
+SRC_URI[md5sum] = "445dce53fcfc7ec8f6fd31f54da8a067"
+SRC_URI[sha256sum] = "62ed44c8b2d392bdc757981ac37f05d808a0d917e4f9d95de2fbf3c2bdad41a7"
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] crda: add version 1.1.1
  2010-05-04 20:26 [PATCH 1/2] python-m2crypto-native: Add recipe Eric Benard
@ 2010-05-04 20:26 ` Eric Benard
  2010-05-04 21:00   ` [PATCH] python-m2crypto: add native Eric Benard
  2010-05-04 20:34 ` [PATCH 1/2] python-m2crypto-native: Add recipe Tom Rini
  1 sibling, 1 reply; 5+ messages in thread
From: Eric Benard @ 2010-05-04 20:26 UTC (permalink / raw)
  To: openembedded-devel

- http://wireless.kernel.org/en/developers/Regulatory/CRDA
- CRDA acts as the udev helper for communication between the kernel and
userspace for regulatory compliance.

Signed-off-by: Eric Benard <eric@eukrea.com>
---
 recipes/crda/crda_1.1.1.bb |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 recipes/crda/crda_1.1.1.bb

diff --git a/recipes/crda/crda_1.1.1.bb b/recipes/crda/crda_1.1.1.bb
new file mode 100644
index 0000000..f1d43a9
--- /dev/null
+++ b/recipes/crda/crda_1.1.1.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "Wireless Central Regulatory Domain Agent"
+HOMEPAGE = "http://wireless.kernel.org/en/developers/Regulatory/CRDA"
+SECTION = "base"
+PRIORITY = "optional"
+LICENSE = "ISC"
+PR = "r0"
+
+DEPENDS = "libgcrypt libnl python-native python-m2crypto-native"
+RDEPENDS = "udev"
+
+SRC_URI = "http://wireless.kernel.org/download/crda/${P}.tar.bz2;name=crda \
+	http://wireless.kernel.org/download/wireless-regdb/regulatory.bins/2009.11.25-regulatory.bin;name=reg \
+	"
+
+do_install() {
+	oe_runmake DESTDIR=${D} install
+	install -d ${D}/usr/lib/crda/
+	install -m 0644 ${WORKDIR}/2009.11.25-regulatory.bin ${D}/usr/lib/crda/regulatory.bin
+}
+
+SRC_URI[crda.md5sum] = "5fc77af68b3e21736b8ef2f8b061c810"
+SRC_URI[crda.sha256sum] = "59b4760da44a8f803caeaaa7fb97e0c6bd3f35f40445b28258e7f14c2fbe13b5"
+SRC_URI[reg.md5sum] = "873b5c55a26c8ba7674e083f51cb10aa"
+SRC_URI[reg.sha256sum] = "3ac77fa4d8034e4f5bc484adc4b073c3636dea26803e5e695cc54c15b629154a"
+
+FILES_${PN} += "\
+	/lib/udev/rules.d/85-regulatory.rules \
+	/usr/lib/crda/regulatory.bin \
+	"
\ No newline at end of file
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] python-m2crypto-native: Add recipe
  2010-05-04 20:26 [PATCH 1/2] python-m2crypto-native: Add recipe Eric Benard
  2010-05-04 20:26 ` [PATCH 2/2] crda: add version 1.1.1 Eric Benard
@ 2010-05-04 20:34 ` Tom Rini
  2010-05-04 20:52   ` Eric Bénard
  1 sibling, 1 reply; 5+ messages in thread
From: Tom Rini @ 2010-05-04 20:34 UTC (permalink / raw)
  To: openembedded-devel

On Tue, 2010-05-04 at 22:26 +0200, Eric Benard wrote:
> - this package is needed to compile crda
> 
> Signed-off-by: Eric Benard <eric@eukrea.com>

Any reason we can't use BBCLASSEXTENDS?

> ---
>  recipes/python/python-m2crypto-native_0.18.2.bb |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/python/python-m2crypto-native_0.18.2.bb
> 
> diff --git a/recipes/python/python-m2crypto-native_0.18.2.bb b/recipes/python/python-m2crypto-native_0.18.2.bb
> new file mode 100644
> index 0000000..4a28464
> --- /dev/null
> +++ b/recipes/python/python-m2crypto-native_0.18.2.bb
> @@ -0,0 +1,12 @@
> +require python-m2crypto_${PV}.bb
> +inherit native
> +
> +FILESPATH = "${FILE_DIRNAME}/python-m2crypto"
> +DEPENDS = "python-native"
> +
> +do_stage() {
> +	distutils_stage_all
> +}
> +
> +SRC_URI[md5sum] = "445dce53fcfc7ec8f6fd31f54da8a067"
> +SRC_URI[sha256sum] = "62ed44c8b2d392bdc757981ac37f05d808a0d917e4f9d95de2fbf3c2bdad41a7"


-- 
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] python-m2crypto-native: Add recipe
  2010-05-04 20:34 ` [PATCH 1/2] python-m2crypto-native: Add recipe Tom Rini
@ 2010-05-04 20:52   ` Eric Bénard
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Bénard @ 2010-05-04 20:52 UTC (permalink / raw)
  To: openembedded-devel

Le 04/05/2010 22:34, Tom Rini a écrit :
> On Tue, 2010-05-04 at 22:26 +0200, Eric Benard wrote:
>> - this package is needed to compile crda
>>
>> Signed-off-by: Eric Benard<eric@eukrea.com>
>
> Any reason we can't use BBCLASSEXTENDS?
>
no good reason found, actually testing and patch should follow.

Thanks
Eric



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] python-m2crypto: add native
  2010-05-04 20:26 ` [PATCH 2/2] crda: add version 1.1.1 Eric Benard
@ 2010-05-04 21:00   ` Eric Benard
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Benard @ 2010-05-04 21:00 UTC (permalink / raw)
  To: openembedded-devel

- this package is needed to compile crda

Signed-off-by: Eric Benard <eric@eukrea.com>
---
 recipes/python/python-m2crypto_0.18.2.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/recipes/python/python-m2crypto_0.18.2.bb b/recipes/python/python-m2crypto_0.18.2.bb
index 7a2af1e..74a212d 100644
--- a/recipes/python/python-m2crypto_0.18.2.bb
+++ b/recipes/python/python-m2crypto_0.18.2.bb
@@ -20,3 +20,6 @@ export STAGING_LIBDIR
 
 SRC_URI[md5sum] = "445dce53fcfc7ec8f6fd31f54da8a067"
 SRC_URI[sha256sum] = "62ed44c8b2d392bdc757981ac37f05d808a0d917e4f9d95de2fbf3c2bdad41a7"
+
+NATIVE_INSTALL_WORKS = "1"
+BBCLASSEXTEND = "native"
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-04 21:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-04 20:26 [PATCH 1/2] python-m2crypto-native: Add recipe Eric Benard
2010-05-04 20:26 ` [PATCH 2/2] crda: add version 1.1.1 Eric Benard
2010-05-04 21:00   ` [PATCH] python-m2crypto: add native Eric Benard
2010-05-04 20:34 ` [PATCH 1/2] python-m2crypto-native: Add recipe Tom Rini
2010-05-04 20:52   ` Eric Bénard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.