summaryrefslogtreecommitdiff
path: root/package/java/concierge
diff options
context:
space:
mode:
Diffstat (limited to 'package/java/concierge')
-rw-r--r--package/java/concierge/Config.in11
-rw-r--r--package/java/concierge/concierge.mk40
-rw-r--r--package/java/concierge/files/concierge2
-rw-r--r--package/java/concierge/files/init.xargs10
4 files changed, 63 insertions, 0 deletions
diff --git a/package/java/concierge/Config.in b/package/java/concierge/Config.in
new file mode 100644
index 000000000..649a24501
--- /dev/null
+++ b/package/java/concierge/Config.in
@@ -0,0 +1,11 @@
+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/java/concierge/concierge.mk b/package/java/concierge/concierge.mk
new file mode 100644
index 000000000..68ca4165d
--- /dev/null
+++ b/package/java/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/java/concierge/files/concierge b/package/java/concierge/files/concierge
new file mode 100644
index 000000000..c463753f2
--- /dev/null
+++ b/package/java/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/java/concierge/files/init.xargs b/package/java/concierge/files/init.xargs
new file mode 100644
index 000000000..7848721ce
--- /dev/null
+++ b/package/java/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