diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/rfkill/rfkill_0.5.bb')
-rw-r--r-- | meta-oe/recipes-connectivity/rfkill/rfkill_0.5.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/rfkill/rfkill_0.5.bb b/meta-oe/recipes-connectivity/rfkill/rfkill_0.5.bb new file mode 100644 index 000000000..3e644760c --- /dev/null +++ b/meta-oe/recipes-connectivity/rfkill/rfkill_0.5.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "Radio enable/disable command line utility" | ||
2 | HOMEPAGE = "http://linuxwireless.org/en/users/Documentation/rfkill" | ||
3 | SECTION = "base" | ||
4 | LICENSE = "BSD" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c6036d0eb7edbfced28c4160e5d3fa94" | ||
6 | |||
7 | SRC_URI = "http://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.bz2 \ | ||
8 | file://0001-rfkill-makefile-don-t-use-t-the-OE-install-wrapper-d.patch \ | ||
9 | file://dont.call.git.rev-parse.on.parent.dir.patch" | ||
10 | |||
11 | SRC_URI[md5sum] = "b957713a6cfbcd8ac0e94420aeddcf1a" | ||
12 | SRC_URI[sha256sum] = "3e160cca504a53679f2b3254f31c53a4fb38a021bc50fed8eb57a436d33dfa07" | ||
13 | |||
14 | do_compile() { | ||
15 | oe_runmake | ||
16 | } | ||
17 | |||
18 | do_install() { | ||
19 | oe_runmake DESTDIR=${D} install | ||
20 | } | ||
21 | |||
22 | inherit update-alternatives | ||
23 | |||
24 | ALTERNATIVE_${PN} = "rfkill" | ||
25 | ALTERNATIVE_PRIORITY = "60" | ||
26 | ALTERNATIVE_LINK_NAME[rfkill] = "${sbindir}/rfkill" | ||
27 | |||