libgsm0710muxd: new recipe; gsm 07.10 multiplexer engine
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Mon, 23 Feb 2009 20:44:54 +0000 (21:44 +0100)
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>
Tue, 24 Feb 2009 18:30:57 +0000 (19:30 +0100)
packages/freesmartphone/fso-abyss/abyss.conf [deleted file]
packages/freesmartphone/fso-abyss/om-gta01/abyss.conf [deleted file]
packages/freesmartphone/fso-abyss/om-gta02/abyss.conf [deleted file]
packages/freesmartphone/fso-abyss/om-gta03/abyss.conf [deleted file]
packages/freesmartphone/libgsm0710mux/abyss.conf [new file with mode: 0644]
packages/freesmartphone/libgsm0710mux/om-gta01/abyss.conf [new file with mode: 0644]
packages/freesmartphone/libgsm0710mux/om-gta02/abyss.conf [new file with mode: 0644]
packages/freesmartphone/libgsm0710mux/om-gta03/abyss.conf [new file with mode: 0644]
packages/freesmartphone/libgsm0710mux_git.bb [new file with mode: 0644]

diff --git a/packages/freesmartphone/fso-abyss/abyss.conf b/packages/freesmartphone/fso-abyss/abyss.conf
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/packages/freesmartphone/fso-abyss/om-gta01/abyss.conf b/packages/freesmartphone/fso-abyss/om-gta01/abyss.conf
deleted file mode 100644 (file)
index 67da210..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[omuxerd]
-autoopen = 1
-autoclose = 1
-autoexit = 1
-
-[session]
-mode = 1
-framesize = 98
-port = /dev/ttySAC0
-speed = 115200
-
-[device]
-wakeup_threshold = 6
-wakeup_waitms = 200
-
diff --git a/packages/freesmartphone/fso-abyss/om-gta02/abyss.conf b/packages/freesmartphone/fso-abyss/om-gta02/abyss.conf
deleted file mode 100644 (file)
index 67da210..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[omuxerd]
-autoopen = 1
-autoclose = 1
-autoexit = 1
-
-[session]
-mode = 1
-framesize = 98
-port = /dev/ttySAC0
-speed = 115200
-
-[device]
-wakeup_threshold = 6
-wakeup_waitms = 200
-
diff --git a/packages/freesmartphone/fso-abyss/om-gta03/abyss.conf b/packages/freesmartphone/fso-abyss/om-gta03/abyss.conf
deleted file mode 100644 (file)
index 1764c5b..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-[omuxerd]
-# set to 1, when the first AllocChannel request opens a session
-autoopen = 1
-# set to 1, when the last ReleaseChannel closes the session
-autoclose = 1
-# set to 1, when closing the session should close the program
-autoexit = 1
-
-[session]
-# set 0 for 07.10 basic multiplexing, 1 for advanced
-mode = 0
-# set maximum 07.10 frame size
-framesize = 98
-# configure modem port
-port = /dev/ttySAC0
-speed = 115200
diff --git a/packages/freesmartphone/libgsm0710mux/abyss.conf b/packages/freesmartphone/libgsm0710mux/abyss.conf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/freesmartphone/libgsm0710mux/om-gta01/abyss.conf b/packages/freesmartphone/libgsm0710mux/om-gta01/abyss.conf
new file mode 100644 (file)
index 0000000..67da210
--- /dev/null
@@ -0,0 +1,15 @@
+[omuxerd]
+autoopen = 1
+autoclose = 1
+autoexit = 1
+
+[session]
+mode = 1
+framesize = 98
+port = /dev/ttySAC0
+speed = 115200
+
+[device]
+wakeup_threshold = 6
+wakeup_waitms = 200
+
diff --git a/packages/freesmartphone/libgsm0710mux/om-gta02/abyss.conf b/packages/freesmartphone/libgsm0710mux/om-gta02/abyss.conf
new file mode 100644 (file)
index 0000000..67da210
--- /dev/null
@@ -0,0 +1,15 @@
+[omuxerd]
+autoopen = 1
+autoclose = 1
+autoexit = 1
+
+[session]
+mode = 1
+framesize = 98
+port = /dev/ttySAC0
+speed = 115200
+
+[device]
+wakeup_threshold = 6
+wakeup_waitms = 200
+
diff --git a/packages/freesmartphone/libgsm0710mux/om-gta03/abyss.conf b/packages/freesmartphone/libgsm0710mux/om-gta03/abyss.conf
new file mode 100644 (file)
index 0000000..1764c5b
--- /dev/null
@@ -0,0 +1,16 @@
+[omuxerd]
+# set to 1, when the first AllocChannel request opens a session
+autoopen = 1
+# set to 1, when the last ReleaseChannel closes the session
+autoclose = 1
+# set to 1, when closing the session should close the program
+autoexit = 1
+
+[session]
+# set 0 for 07.10 basic multiplexing, 1 for advanced
+mode = 0
+# set maximum 07.10 frame size
+framesize = 98
+# configure modem port
+port = /dev/ttySAC0
+speed = 115200
diff --git a/packages/freesmartphone/libgsm0710mux_git.bb b/packages/freesmartphone/libgsm0710mux_git.bb
new file mode 100644 (file)
index 0000000..3a4c0d9
--- /dev/null
@@ -0,0 +1,38 @@
+DESCRIPTION = "A GSM 07.10 Multiplexing Engine"
+AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>"
+LICENSE = "GPL"
+SECTION = "devel"
+DEPENDS = "libgsm0710 vala-native glib-2.0"
+PV = "0.3.1+gitr${SRCREV}"
+PR = "r0"
+
+SRC_URI = "\
+  ${FREESMARTPHONE_GIT}/libgsm0710mux;protocol=git;branch=master \
+  file://abyss.conf \
+"
+S = "${WORKDIR}/git"
+
+inherit autotools_stage pkgconfig
+
+do_install_append() {
+       install -d ${D}${sysconfdir}
+       install -m 0644 ${WORKDIR}/abyss.conf ${D}${sysconfdir}/
+}
+
+PACKAGES =+ "${PN}-config"
+
+FILES_${PN} += "${sysconfdir} ${datadir}"
+# ship vapi file
+FILES_${PN}-dev += "${datadir}/vala"
+
+RRECOMMENDS_${PN} = "${PN}-config"
+
+FILES_${PN}-config = "\
+  ${sysconfdir}/abyss.conf \
+"
+
+CONFFILES_${PN}-config = "\
+  ${sysconfdir}/abyss.conf \
+"
+
+PACKAGE_ARCH_${PN} = "${BASE_PACKAGE_ARCH}"