summaryrefslogtreecommitdiffstats
path: root/package/concierge
diff options
context:
space:
mode:
Diffstat (limited to 'package/concierge')
-rw-r--r--package/concierge/Config.in8
-rw-r--r--package/concierge/concierge.mk40
-rw-r--r--package/concierge/files/concierge2
-rw-r--r--package/concierge/files/init.xargs10
4 files changed, 60 insertions, 0 deletions
diff --git a/package/concierge/Config.in b/package/concierge/Config.in
new file mode 100644
index 000000000..a9bebdf2f
--- /dev/null
+++ b/package/concierge/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_CONCIERGE
+ bool "concierge"
+ default n
+ depends on BR2_PACKAGE_JAMVM
+
+ help
+ Concierge is an optimized OSGi R3 framework implementations with a file footprint of about 80 kBytes. This makes it ideal for mobile or embedded devices.
+ http://concierge.sourceforge.net/
diff --git a/package/concierge/concierge.mk b/package/concierge/concierge.mk
new file mode 100644
index 000000000..68ca4165d
--- /dev/null
+++ b/package/concierge/concierge.mk
@@ -0,0 +1,40 @@
+#############################################################
+#
+# concierge 1.0-RC2
+#
+#############################################################
+CONCIERGE_VERSION = 1.0_RC2
+CONCIERGE_SOURCE = concierge-$(CONCIERGE_VERSION).jar
+CONCIERGE_SITE = http://ovh.dl.sourceforge.net/sourceforge/concierge/
+CONCIERGE_DIR=$(BUILD_DIR)/concierge-$(CONCIERGE_VERSION)
+CONCIERGE_SITE_BUNDLES = http://concierge.sourceforge.net/bundles/
+
+$(DL_DIR)/concierge:
+ mkdir -p $(DL_DIR)/concierge/
+ $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE)/concierge-$(CONCIERGE_VERSION).jar
+ $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)shell-1.0.0.RC2.jar
+ $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)service-tracker-1.0.0.RC2.jar
+ $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)event-admin-1.0.0.RC2.jar
+
+$(TARGET_DIR)/usr/lib/concierge/: $(DL_DIR)/concierge
+ mkdir -p $(TARGET_DIR)/usr/lib
+ mkdir -p $(TARGET_DIR)/usr/lib/concierge
+ cp -dpf $(DL_DIR)/concierge/* $(TARGET_DIR)/usr/lib/concierge/
+ cp -dpf package/concierge/files/init.xargs $(TARGET_DIR)/usr/lib/concierge/
+ touch -c $@
+
+$(TARGET_DIR)/usr/bin/concierge:
+ cp -dpf package/concierge/files/concierge $(TARGET_DIR)/usr/bin/
+ chmod +x $(TARGET_DIR)/usr/bin/concierge
+ touch -c $@
+
+concierge: $(TARGET_DIR)/usr/lib/concierge $(TARGET_DIR)/usr/bin/concierge
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_CONCIERGE)),y)
+TARGETS+=concierge
+endif
diff --git a/package/concierge/files/concierge b/package/concierge/files/concierge
new file mode 100644
index 000000000..c463753f2
--- /dev/null
+++ b/package/concierge/files/concierge
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/bin/jamvm -jar /usr/lib/concierge/concierge-1.0_RC2.jar
diff --git a/package/concierge/files/init.xargs b/package/concierge/files/init.xargs
new file mode 100644
index 000000000..7848721ce
--- /dev/null
+++ b/package/concierge/files/init.xargs
@@ -0,0 +1,10 @@
+-init
+-all
+-Dch.ethz.iks.concierge.debug=true
+-Dch.ethz.iks.concierge.log.enabled=true
+-Dch.ethz.iks.concierge.log.level=4
+
+
+#-istart shell-1.0.0.RC2.jar
+#-istart service-tracker-1.0.0.RC2.jar
+#-istart event-admin-1.0.0.RC2.jar