summaryrefslogtreecommitdiff
path: root/packages/python/python-pyiw_0.3.3.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2008-03-09 19:02:11 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2008-03-09 19:02:11 +0000
commitda52b3030fdab75fa015b9a4c7548ce391b54b35 (patch)
treef2755f96e4ceab506f7b192191e16f37da47cf4b /packages/python/python-pyiw_0.3.3.bb
parent72b5357866d97d79131ab96fea5cdd7d00ae29c9 (diff)
parent9d42c6d52697e45545f2a83dd014278c038f75ca (diff)
merge of '2862048e0d5216ac90156a012c86db94c23d2742'
and '42eff26099cde8822773944e3b244f74387ef7cc'
Diffstat (limited to 'packages/python/python-pyiw_0.3.3.bb')
-rw-r--r--packages/python/python-pyiw_0.3.3.bb15
1 files changed, 7 insertions, 8 deletions
diff --git a/packages/python/python-pyiw_0.3.3.bb b/packages/python/python-pyiw_0.3.3.bb
index aa86a07e8f..aaa18c7ee9 100644
--- a/packages/python/python-pyiw_0.3.3.bb
+++ b/packages/python/python-pyiw_0.3.3.bb
@@ -5,25 +5,24 @@ SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "wireless-tools"
-RDEPENDS = "python-core libiw"
+RDEPENDS = "python-core"
PR = "ml0"
+inherit autotools pkgconfig distutils-base
+
+CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR}"
+
SRC_URI = "http://downloads.emperorlinux.com/contrib/pyiw/pyiw-${PV}.tbz2 \
file://Makefile"
-
-S="${WORKDIR}/pyiw-${PV}"
+S = "${WORKDIR}/pyiw-${PV}"
do_unpack_real () {
- tar jxvf pyiw-${PV}.tbz2
+ tar jxvf ${DL_DIR}/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