python-m2crypto-native: Add recipe
PATCH 1/2 python-m2crypto-native: Add recipe
- this package is needed to compile crda
Signed-off-by Eric Benard <[email protected]>
--- 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
recipes/python/python-m2crypto-native_0.18.2.bb new file +12 -0
@@ -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"
Signature · 1 line
1.6.3.3
PATCH 2/2 crda: add version 1.1.1
- 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 <[email protected]>
--- 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
recipes/crda/crda_1.1.1.bb new file +29 -0
@@ -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 \ + "
Signature · 1 line
1.6.3.3
PATCH 1/1 python-m2crypto: add native
- this package is needed to compile crda
Signed-off-by Eric Benard <[email protected]>
--- recipes/python/python-m2crypto_0.18.2.bb | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
recipes/python/python-m2crypto_0.18.2.bb +3 -0
@@ -20,3 +20,6 @@ export STAGING_LIBDIR SRC_URI[md5sum] = "445dce53fcfc7ec8f6fd31f54da8a067" SRC_URI[sha256sum] = "62ed44c8b2d392bdc757981ac37f05d808a0d917e4f9d95de2fbf3c2bdad41a7" + +NATIVE_INSTALL_WORKS = "1" +BBCLASSEXTEND = "native"
Signature · 1 line
1.6.3.3
Quoted 3 lines · Eric Benard
- this package is needed to compile crda
Signed-off-by Eric Benard <[email protected]>
Any reason we can't use BBCLASSEXTENDS?
Quoted 23 lines
--- 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.bbrecipes/python/python-m2crypto-native_0.18.2.bb new file +12
-0@@ -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"
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation
Quoted 7 lines · Tom Rini
Quoted 3 lines · Eric Benard
- this package is needed to compile crda
Signed-off-by Eric Benard<[email protected]>Any reason we can't use BBCLASSEXTENDS?
no good reason found, actually testing and patch should follow.
Thanks
Eric