diff options
| author | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-08-16 18:05:01 +0000 |
|---|---|---|
| committer | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-08-16 18:05:01 +0000 |
| commit | fe2ab64f4ad985b59b6bbc33d990bb96ed64b607 (patch) | |
| tree | 13d0e8112c403b6ac6e91a359e12f66297c14922 /packages/python/python-pyiw_0.3.3.bb | |
| parent | a029c974983879c1f656d655158ed8a62b241952 (diff) | |
| parent | 623fb64de43b262e242dca42e1e625387c8810f9 (diff) | |
merge of 'ae5744fa10248e83339259dfc0764f954c5b3456'
and 'd2ff855675080c5ae36403d11904698712868163'
Diffstat (limited to 'packages/python/python-pyiw_0.3.3.bb')
| -rw-r--r-- | packages/python/python-pyiw_0.3.3.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/python/python-pyiw_0.3.3.bb b/packages/python/python-pyiw_0.3.3.bb new file mode 100644 index 0000000000..aa86a07e8f --- /dev/null +++ b/packages/python/python-pyiw_0.3.3.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "PyIW is a simple Python extension module written in C \ +that interfaces with libiw and provides a very 'pythonic' API to programmers." +HOMEPAGE = "http://www.emperorlinux.com/etc/contrib/?page=pyiw" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "wireless-tools" +RDEPENDS = "python-core libiw" +PR = "ml0" + +SRC_URI = "http://downloads.emperorlinux.com/contrib/pyiw/pyiw-${PV}.tbz2 \ + file://Makefile" + +S="${WORKDIR}/pyiw-${PV}" + +do_unpack_real () { + tar jxvf pyiw-${PV}.tbz2 + cp Makefile pyiw-${PV}/ +} +do_unpack_real[dirs] = "${WORKDIR}" +addtask unpack_real before do_patch after do_unpack + +inherit autotools pkgconfig distutils-base + +CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR}" + +do_install() { + install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/ + install -m 0755 pyiw.so ${D}${libdir}/${PYTHON_DIR}/site-packages/pyiw.so +} + +FILES_${PN} = "${libdir}/${PYTHON_DIR}/site-packages/pyiw.so" |
