summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-09-03 12:53:33 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-09-03 12:53:33 (GMT)
commit426a622069b82b3b1177e0fad03b3a9efb56ed32 (patch)
treefd1402a77b67f27ccf3f380e4e7d9216c44bf082
parent1151217dc170c3fd1296848f60fd741f7e77f64c (diff)
parent984f1a0c4ce30cb9181c36af2abdd8baaeedecc2 (diff)
downloadmxe-426a622069b82b3b1177e0fad03b3a9efb56ed32.zip
mxe-426a622069b82b3b1177e0fad03b3a9efb56ed32.tar.gz
mxe-426a622069b82b3b1177e0fad03b3a9efb56ed32.tar.bz2
Merge pull request #817 from LuaAndC/package-updaters
Package updaters for jack, libdca, libwebsockets
-rw-r--r--src/jack.mk5
-rw-r--r--src/libdca.mk5
-rw-r--r--src/libwebsockets.mk5
3 files changed, 9 insertions, 6 deletions
diff --git a/src/jack.mk b/src/jack.mk
index 2275c51..73098f2 100644
--- a/src/jack.mk
+++ b/src/jack.mk
@@ -11,8 +11,9 @@ $(PKG)_URL := https://dl.dropboxusercontent.com/u/28869550/$($(PKG)_FILE)
$(PKG)_DEPS := gcc libsamplerate libgnurx portaudio libsndfile winpthreads
define $(PKG)_UPDATE
- echo 'TODO: write update script for $(PKG).' >&2;
- echo $($(PKG)_VERSION)
+ $(WGET) -q -O- 'http://jackaudio.org/downloads/' | \
+ $(SED) -n 's,.*jack-\([0-9][^"]*\)\.tar.*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD
diff --git a/src/libdca.mk b/src/libdca.mk
index 81d9399..4f8f2d7 100644
--- a/src/libdca.mk
+++ b/src/libdca.mk
@@ -11,8 +11,9 @@ $(PKG)_URL := http://download.videolan.org/pub/videolan/libdca/$($(PKG)_VER
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
- echo 'TODO: write update script for libdca.' >&2;
- echo $(libdca_VERSION)
+ $(WGET) -q -O- 'https://www.videolan.org/developers/libdca.html' | \
+ $(SED) -n 's,.*libdca-\([0-9][^"]*\)\.tar.*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD
diff --git a/src/libwebsockets.mk b/src/libwebsockets.mk
index a6dc143..9e6d2a2 100644
--- a/src/libwebsockets.mk
+++ b/src/libwebsockets.mk
@@ -11,8 +11,9 @@ $(PKG)_URL := http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snaps
$(PKG)_DEPS := gcc openssl zlib
define $(PKG)_UPDATE
- echo 'TODO: write update script for libwebsockets.' >&2;
- echo $(libwebsockets_VERSION)
+ $(WGET) -q -O- 'http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/' | \
+ $(SED) -n 's,.*libwebsockets-\([0-9][^"]*\)\.tar.*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD