Browse Source

mjpg-streamer: Fix build/download order and cambozola repo reference

Signed-off-by: Ted Hess <thess@kitschensync.net>
Ted Hess 9 years ago
parent
commit
59fcc276d5
1 changed files with 5 additions and 2 deletions
  1. 5
    2
      multimedia/mjpg-streamer/Makefile

+ 5
- 2
multimedia/mjpg-streamer/Makefile View File

@@ -51,8 +51,11 @@ endef
51 51
 
52 52
 CAMBOZOLA:=cambozola-0.936.tar.gz
53 53
 
54
+# Distribution URL doesn't always have the correct version
55
+# Using the OpenWrt mirror provides a stable version
56
+#      orig-URL:=http://www.andywilcock.com/code/cambozola
54 57
 define Download/cambozola
55
-  URL:=http://www.andywilcock.com/code/cambozola
58
+  URL:=http://mirror2.openwrt.org/sources
56 59
   FILE:=$(CAMBOZOLA)
57 60
   MD5SUM:=35c45188aa9635aef2b745c35c311396
58 61
 endef
@@ -62,7 +65,7 @@ endef
62 65
 define Build/Prepare
63 66
     $(call Build/Prepare/Default)
64 67
     ifeq ($(CONFIG_MJPG_STREAMER_WWW),y)
65
-	$(call Download,cambozola)
68
+	$(eval $(call Download,cambozola))
66 69
 	$(TAR) -xvf $(DL_DIR)/$(CAMBOZOLA) --strip=2 --wildcards \
67 70
 		-C $(PKG_BUILD_DIR)/www */dist/cambozola.jar
68 71
     endif