opkg: update patches, revert SVN r556
[opendreambox.git] / meta-opendreambox / recipes-devtools / python / python-wifi_0.5.0.bb
1 SUMMARY = "Provides access to Linux Wireless Extensions"
2 HOMEPAGE = "http://pythonwifi.wikispot.org/"
3 SECTION = "devel/python"
4 LICENSE = "LGPLv2+"
5 LICENSE_${PN}-examples = "GPLv2+"
6 LIC_FILES_CHKSUM = "file://README;beginline=56;endline=57;md5=31ebd3ff22b6f3c0160a143e0c4a98a3 \
7                     file://examples/iwconfig.py;beginline=1;endline=20;md5=60fd41501905b3e20e9065995edfc0cf \
8                     file://pythonwifi/iwlibs.py;beginline=1;endline=22;md5=679475d61cc083a24158bb8b473f0c6f"
9 RDEPENDS_${PN} = "python-ctypes python-datetime"
10 PR = "r1"
11
12 SRC_URI = "http://download.berlios.de/pythonwifi/${P}.tar.bz2"
13 SRC_URI[md5sum] = "8fe7fd0a4edce1f9bedaff4acb7fd500"
14 SRC_URI[sha256sum] = "3e3f645d37ab20450f60c785cec5f21b330f28a6c46c7c1b0898305dd7a34b26"
15
16 inherit setuptools
17
18 do_install_append() {
19         install -d ${D}${docdir}/${PN}
20         mv ${D}${datadir}/README ${D}${docdir}/${PN}
21         mv ${D}${datadir}/INSTALL ${D}${docdir}/${PN}
22         mv ${D}${datadir}/docs/* ${D}${docdir}/${PN}
23         install -d ${D}${sbindir}
24         mv ${D}${datadir}/examples/* ${D}${sbindir}
25 }
26
27 PACKAGES =+ "${PN}-examples"
28
29 FILES_${PN}-examples = "${sbindir}"