aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/python/python-wifi_0.5.0.bb
blob: faa3b43ef44e3e5f200240d03a42f3417321daa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
DESCRIPTION = "Provides access to Linux Wireless Extensions"
HOMEPAGE = "http://pythonwifi.wikispot.org/"
SECTION = "devel/python"
LICENSE = "LGPLv2+"
LICENSE_${PN}-examples = "GPLv2+"
RDEPENDS_${PN} = "python-ctypes python-datetime"

SRC_URI = "http://download.berlios.de/pythonwifi/${P}.tar.bz2"
SRC_URI[md5sum] = "8fe7fd0a4edce1f9bedaff4acb7fd500"
SRC_URI[sha256sum] = "3e3f645d37ab20450f60c785cec5f21b330f28a6c46c7c1b0898305dd7a34b26"

inherit setuptools

do_install_append() {
        install -d ${D}${docdir}/${PN}
        mv ${D}${datadir}/README ${D}${docdir}/${PN}
        mv ${D}${datadir}/INSTALL ${D}${docdir}/${PN}
        mv ${D}${datadir}/docs/* ${D}${docdir}/${PN}
        install -d ${D}${sbindir}
        mv ${D}${datadir}/examples/* ${D}${sbindir}
}

PACKAGES =+ "${PN}-examples"

FILES_${PN}-examples = "${sbindir}"