add pyneod, remove python-fso-pyproto
authorMichael Lauer <mickey@vanille-media.de>
Wed, 27 Feb 2008 14:40:13 +0000 (14:40 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Wed, 27 Feb 2008 14:40:13 +0000 (14:40 +0000)
packages/freesmartphone/gsm0710muxd_svn.bb
packages/freesmartphone/pyneod_svn.bb [new file with mode: 0644]
packages/freesmartphone/python-fso-pyproto_svn.bb [deleted file]
packages/freesmartphone/task-pyneo.bb [new file with mode: 0644]

index 98b9360..6c3d29a 100644 (file)
@@ -3,9 +3,11 @@ HOMEPAGE = "http://www.freesmartphone.org"
 AUTHOR = "M. Dietrich"
 SECTION = "console/network"
 DEPENDS = "intltool-native dbus"
+RCONFLICTS = "gsmd"
+RREPLACES = "gsmd"
 LICENSE = "GPL"
 PV = "0.0+svnr${SRCREV}"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "svn://projects.linuxtogo.org/svn/smartphones/trunk/software;module=gsm0710muxd"
 S = "${WORKDIR}/gsm0710muxd"
diff --git a/packages/freesmartphone/pyneod_svn.bb b/packages/freesmartphone/pyneod_svn.bb
new file mode 100644 (file)
index 0000000..026d693
--- /dev/null
@@ -0,0 +1,66 @@
+DESCRIPTION = "FIC Neo Smartphone daemons implementing the freesmartphone.org dbus APIs"
+AUTHOR = "M. Dietrich"
+SECTION = "console/network"
+DEPENDS = "python"
+LICENSE = "GPL"
+PV = "0.0+svnr${SRCREV}"
+PR = "r1"
+
+inherit update-rc.d
+
+INITSCRIPT_NAME = "init.d.pyneo"
+INITSCRIPT_PARAMS = "defaults 40"
+
+SRC_URI = "svn://projects.linuxtogo.org/svn/smartphones/trunk/software;module=pyneod"
+S = "${WORKDIR}/pyneod"
+
+export D := "${D}"
+export PREFIX = "${prefix}"
+
+do_compile() {
+       :
+}
+
+do_install() {
+       python setup.py
+}
+
+RCONFLICTS = "gsmd"
+RREPLACES = "gsmd"
+RDEPENDS = "\
+  python-codecs \
+  python-compression \
+  python-crypt \
+  python-curses \
+  python-datetime \
+  python-dbus \
+  python-fcntl \
+  python-gdbm \
+  python-gst \
+  python-html \
+  python-io \
+  python-lang \
+  python-logging \
+  python-math \
+  python-mime \
+  python-netclient \
+  python-netserver \
+  python-pickle \
+  python-pprint \
+  python-pycrypto \
+  python-pygobject \
+  python-pyserial \
+  python-re \
+  python-readline \
+  python-shell \
+  python-simplejson \
+  python-sqlite3 \
+  python-stringold \
+  python-syslog \
+  python-threading \
+  python-xml \
+  python-zlib \
+"
+
+FILES_${PN} = "${datadir} ${sysconfdir} ${bindir}"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/packages/freesmartphone/python-fso-pyproto_svn.bb b/packages/freesmartphone/python-fso-pyproto_svn.bb
deleted file mode 100644 (file)
index 9d4503d..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-DESCRIPTION = "FreeSmartPhone.org Python Prototypes"
-AUTHOR = "M. Dietrich"
-SECTION = "console/network"
-RDEPENDS = "python-serial python-lang"
-LICENSE = "GPL"
-PV = "0.0+svnr${SRCREV}"
-PR = "r0"
-
-SRC_URI = "svn://projects.linuxtogo.org/svn/smartphones/trunk/software;module=py-proto"
-S = "${WORKDIR}/py-proto"
-
-inherit distutils
-
diff --git a/packages/freesmartphone/task-pyneo.bb b/packages/freesmartphone/task-pyneo.bb
new file mode 100644 (file)
index 0000000..346eb64
--- /dev/null
@@ -0,0 +1,6 @@
+DESCRIPTION = "Task for a FIC Neo SmartPhone environment"
+LICENSE = "MIT"
+SECTION = "devel/python"
+RDEPENDS = "gsm0710muxd python-pyneod python-pyneog"
+
+ALLOW_EMPTY = "1"