summaryrefslogtreecommitdiffstats
path: root/package/concierge/concierge.mk
diff options
context:
space:
mode:
authorJohn Voltz <john.voltz@gmail.com>2008-03-06 18:02:19 +0000
committerJohn Voltz <john.voltz@gmail.com>2008-03-06 18:02:19 +0000
commit0e2ac92534e8dcceba5be8f3a44befc8b6dbb470 (patch)
treea7007605d0e4e9448ee874931a958f22d0865f6d /package/concierge/concierge.mk
parenta418f4a243f50c67efce3665ed5b5be755556bd0 (diff)
downloadbuildroot-novena-0e2ac92534e8dcceba5be8f3a44befc8b6dbb470.tar.gz
buildroot-novena-0e2ac92534e8dcceba5be8f3a44befc8b6dbb470.zip
added concierge OSGi and classpath
Diffstat (limited to 'package/concierge/concierge.mk')
-rw-r--r--package/concierge/concierge.mk40
1 files changed, 40 insertions, 0 deletions
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