From 2b57b774abdbc4b1dd337288e483473fad2859d7 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Thu, 16 Aug 2007 13:32:31 +0000 Subject: python-pyiw: update to 0.3.3 --- packages/python/python-pyiw-0.3.2/.mtn2git_empty | 0 packages/python/python-pyiw-0.3.2/Makefile | 18 ------------- packages/python/python-pyiw-0.3.3/.mtn2git_empty | 0 packages/python/python-pyiw-0.3.3/Makefile | 18 +++++++++++++ packages/python/python-pyiw_0.3.2.bb | 32 ------------------------ packages/python/python-pyiw_0.3.3.bb | 32 ++++++++++++++++++++++++ 6 files changed, 50 insertions(+), 50 deletions(-) delete mode 100644 packages/python/python-pyiw-0.3.2/.mtn2git_empty delete mode 100644 packages/python/python-pyiw-0.3.2/Makefile create mode 100644 packages/python/python-pyiw-0.3.3/.mtn2git_empty create mode 100644 packages/python/python-pyiw-0.3.3/Makefile delete mode 100644 packages/python/python-pyiw_0.3.2.bb create mode 100644 packages/python/python-pyiw_0.3.3.bb (limited to 'packages/python') diff --git a/packages/python/python-pyiw-0.3.2/.mtn2git_empty b/packages/python/python-pyiw-0.3.2/.mtn2git_empty deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/python/python-pyiw-0.3.2/Makefile b/packages/python/python-pyiw-0.3.2/Makefile deleted file mode 100644 index 2ea7baec08..0000000000 --- a/packages/python/python-pyiw-0.3.2/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -# Simple Makfile - -NAME = pyiw -LIBS += -liw - -#static: pyiw.c -# @echo "Statically Building/Linking $(NAME)" -# @$(CC) $(CFLAGS) -Istaticlibiw $(<) -shared -o $(NAME).so staticlibiw/libiw.a - -dynamic: pyiw.c - @echo "Dynamically Building/Linking $(NAME)" - @$(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) $(<) -shared -o $(NAME).so - -clean: - @rm -rf *.o - @rm -rf $(NAME).so - @rm -rf $(NAME).so.t* - diff --git a/packages/python/python-pyiw-0.3.3/.mtn2git_empty b/packages/python/python-pyiw-0.3.3/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/python/python-pyiw-0.3.3/Makefile b/packages/python/python-pyiw-0.3.3/Makefile new file mode 100644 index 0000000000..2ea7baec08 --- /dev/null +++ b/packages/python/python-pyiw-0.3.3/Makefile @@ -0,0 +1,18 @@ +# Simple Makfile + +NAME = pyiw +LIBS += -liw + +#static: pyiw.c +# @echo "Statically Building/Linking $(NAME)" +# @$(CC) $(CFLAGS) -Istaticlibiw $(<) -shared -o $(NAME).so staticlibiw/libiw.a + +dynamic: pyiw.c + @echo "Dynamically Building/Linking $(NAME)" + @$(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) $(<) -shared -o $(NAME).so + +clean: + @rm -rf *.o + @rm -rf $(NAME).so + @rm -rf $(NAME).so.t* + diff --git a/packages/python/python-pyiw_0.3.2.bb b/packages/python/python-pyiw_0.3.2.bb deleted file mode 100644 index aa86a07e8f..0000000000 --- a/packages/python/python-pyiw_0.3.2.bb +++ /dev/null @@ -1,32 +0,0 @@ -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" 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" -- cgit v1.2.3