python-pyiw 0.3.3 fix unpacking
authorMichael Lauer <mickey@vanille-media.de>
Sat, 8 Mar 2008 11:48:19 +0000 (11:48 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sat, 8 Mar 2008 11:48:19 +0000 (11:48 +0000)
packages/python/python-pyiw_0.3.3.bb

index aa86a07..aaa18c7 100644 (file)
@@ -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