sms-sentry: new recipe from SHR
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 18 Nov 2009 08:12:12 +0000 (09:12 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Wed, 18 Nov 2009 08:57:34 +0000 (09:57 +0100)
recipes/sms-sentry/sms-sentry.bb [new file with mode: 0644]

diff --git a/recipes/sms-sentry/sms-sentry.bb b/recipes/sms-sentry/sms-sentry.bb
new file mode 100644 (file)
index 0000000..be6c22c
--- /dev/null
@@ -0,0 +1,34 @@
+DESCRIPTION = "An SMS monitor to locate a Neo Freerunner"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "python"
+
+PR = "r1"
+
+SRC_URI = "http://www.handheldshell.com/software/fso/sms-sentry_1.01.tgz"
+
+inherit autotools update-rc.d
+
+INITSCRIPT_NAME = "sms-sentry.sh"
+INITSCRIPT_PARAMS = "defaults 35"
+
+S = ${WORKDIR}/sms-sentry_1.01
+
+do_install() {
+        install -d ${D}/${sysconfdir}/init.d
+        install -d ${D}/${sysconfdir}/default
+        install -d ${D}/usr/bin
+        install -m 0755 ${S}/sms-sentry.sh ${D}/${sysconfdir}/init.d/
+        install -m 0755 ${S}/sms-sentry ${D}/usr/bin/
+        install -m 0644 ${S}/sms-sentry.default ${D}/${sysconfdir}/default/sms-sentry.default
+}
+
+do_configure() {
+        exit 0
+}
+
+do_compile() {
+        exit 0
+}
+