diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-03-28 10:40:45 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-03-28 10:40:45 +0000 |
commit | 77d133d27e47a5b3a166e97600031e37a3571607 (patch) | |
tree | b1235315e59550abad5127ac3637a1fb0ddc61a5 /package/java/concierge/concierge.mk | |
parent | 3d3775e3cd5ff4e2a09ec1bb826c41925801a257 (diff) | |
download | buildroot-novena-77d133d27e47a5b3a166e97600031e37a3571607.tar.gz buildroot-novena-77d133d27e47a5b3a166e97600031e37a3571607.zip |
package: move java packages to package/java sub directory
Diffstat (limited to 'package/java/concierge/concierge.mk')
-rw-r--r-- | package/java/concierge/concierge.mk | 40 |
1 files changed, 40 insertions, 0 deletions
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 |