summaryrefslogtreecommitdiff
path: root/packages/python
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-01-13 23:11:46 +0000
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-01-13 23:11:46 +0000
commitc121ea64f831c4cfcc4d4b005dcafefeb6dfb211 (patch)
tree29734549977c30fd43e1ca87c9bae8a26883afd8 /packages/python
parent97d235793eeecbe87a81c5190e5545ca2dc891bb (diff)
python-pywpa: remove dead project
wpa-supplicant has a dbus interface
Diffstat (limited to 'packages/python')
-rw-r--r--packages/python/python-pywpa-0.3.4/Makefile28
-rw-r--r--packages/python/python-pywpa-0.3.4/Makefile.wpactrl8
-rw-r--r--packages/python/python-pywpa_0.3.4.bb49
3 files changed, 0 insertions, 85 deletions
diff --git a/packages/python/python-pywpa-0.3.4/Makefile b/packages/python/python-pywpa-0.3.4/Makefile
deleted file mode 100644
index 0206f1c229..0000000000
--- a/packages/python/python-pywpa-0.3.4/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# Simple Makefile
-
-NAME = pywpa/_pywpa
-CFLAGS += -Iwpactrl
-OBJS = pywpa.o
-
-%.o: %.c
- @echo "Compiling $(<)"
- @$(CC) $(CFLAGS) -c $(<) -o $(@)
-
-$(NAME).so: objects libwpactrl
- @echo "Statically Linking $(NAME)"
- @$(CC) $(CFLAGS) $(OBJS) wpactrl/wpa_ctrl.o -shared -o $(NAME).so
-
-main: objects libwpactrl
- @echo "Creating test"
- @$(CC) $(CFLAGS) $(OBJS) wpactrl/wpa_ctrl.o -o test -lpython2.4
-
-objects: $(OBJS)
-
-libwpactrl:
- @make -C wpactrl > /dev/null
-
-clean:
- @rm -rf *.o
- @rm -rf $(NAME).so
- @rm -rf $(NAME).so.t*
- @make -C wpactrl clean 2>/dev/null
diff --git a/packages/python/python-pywpa-0.3.4/Makefile.wpactrl b/packages/python/python-pywpa-0.3.4/Makefile.wpactrl
deleted file mode 100644
index b956e0e015..0000000000
--- a/packages/python/python-pywpa-0.3.4/Makefile.wpactrl
+++ /dev/null
@@ -1,8 +0,0 @@
-# Simple Makefile
-
-libwpa: wpa_ctrl.c wpa_ctrl.h
- @echo "Building our small WPA Control Library..."
- $(CC) -c -W -Wall -g wpa_ctrl.c
-
-clean:
- @rm -rf *.o
diff --git a/packages/python/python-pywpa_0.3.4.bb b/packages/python/python-pywpa_0.3.4.bb
deleted file mode 100644
index e8886625b6..0000000000
--- a/packages/python/python-pywpa_0.3.4.bb
+++ /dev/null
@@ -1,49 +0,0 @@
-DESCRIPTION = "PyWPA is another Python extension module written in C \
- that interfaces with wpa_supplicant"
-HOMEPAGE = "http://www.emperorlinux.com/etc/contrib/?page=pywpa"
-SECTION = "devel/python"
-PRIORITY = "optional"
-LICENSE = "GPL"
-RDEPENDS = "python-core"
-PR = "ml0"
-
-SRC_URI = "http://downloads.emperorlinux.com/contrib/pywpa/pywpa-${PV}.tbz2 \
- file://Makefile \
- file://Makefile.wpactrl"
-
-S="${WORKDIR}/pywpa-${PV}"
-
-do_unpack_real () {
- tar jxvf pywpa-${PV}.tbz2
- cp Makefile pywpa-${PV}/
- cp Makefile.wpactrl pywpa-${PV}/wpactrl/Makefile
-}
-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_compile() {
- cd ${S}/wpactrl
- oe_runmake HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
- STAGING_LIBDIR=${STAGING_LIBDIR} \
- STAGING_INCDIR=${STAGING_INCDIR} \
- BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
- OPT="${CFLAGS}"
- cd ${S}
- oe_runmake HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
- STAGING_LIBDIR=${STAGING_LIBDIR} \
- STAGING_INCDIR=${STAGING_INCDIR} \
- BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
- OPT="${CFLAGS}"
-}
-
-do_install() {
- install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/pywpa
- install -m 0755 pywpa/__init__.py ${D}${libdir}/${PYTHON_DIR}/site-packages/pywpa/__init__.py
- install -m 0755 pywpa/_pywpa.so ${D}${libdir}/${PYTHON_DIR}/site-packages/pywpa/_pywpa.so
-}
-
-FILES_${PN} = "${libdir}/${PYTHON_DIR}/site-packages/pywpa/__init__.py ${libdir}/${PYTHON_DIR}/site-packages/pywpa/_pywpa.so"