summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libdvdnav.mk6
-rw-r--r--src/libdvdread.mk6
-rw-r--r--src/picomodel.mk6
-rw-r--r--src/pkgconf.mk6
-rw-r--r--src/plibc.mk6
-rw-r--r--src/vmime.mk6
6 files changed, 6 insertions, 30 deletions
diff --git a/src/libdvdnav.mk b/src/libdvdnav.mk
index 24e51b9..52fc500 100644
--- a/src/libdvdnav.mk
+++ b/src/libdvdnav.mk
@@ -17,11 +17,7 @@ $(PKG)_URL := https://github.com/mirror/$(PKG)/tarball/$($(PKG)_VERSION)/$(
# $(PKG)_URL := https://dvdnav.mplayerhq.hu/releases/$($(PKG)_FILE)
$(PKG)_DEPS := gcc libdvdread
-define $(PKG)_UPDATE
- $(WGET) -q -O- 'https://github.com/mirror/libdvdnav/commits/master' | \
- $(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \
- head -1
-endef
+$(PKG)_UPDATE = $(call MXE_GET_GITHUB_SHA, mirror/libdvdnav, master)
define $(PKG)_UPDATE_RELEASE
$(WGET) -q -O- 'https://dvdnav.mplayerhq.hu/releases/' | \
diff --git a/src/libdvdread.mk b/src/libdvdread.mk
index 2e6485c..086b0bc 100644
--- a/src/libdvdread.mk
+++ b/src/libdvdread.mk
@@ -18,11 +18,7 @@ $(PKG)_URL := https://dvdnav.mplayerhq.hu/releases/$($(PKG)_FILE)
# directly linking to libdvdcss. We directly links to the library here.
$(PKG)_DEPS := gcc libdvdcss
-define $(PKG)_UPDATE_GIT
- $(WGET) -q -O- 'https://github.com/mirror/libdvdread/commits/master' | \
- $(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \
- head -1
-endef
+$(PKG)_UPDATE = $(call MXE_GET_GITHUB_SHA, mirror/libdvdread, master)
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://dvdnav.mplayerhq.hu/releases/' | \
diff --git a/src/picomodel.mk b/src/picomodel.mk
index f4deef7..9e7220b 100644
--- a/src/picomodel.mk
+++ b/src/picomodel.mk
@@ -10,11 +10,7 @@ $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://github.com/ufoai/$(PKG)/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
-define $(PKG)_UPDATE
- $(WGET) -q -O- 'https://github.com/ufoai/picomodel/commits/master' | \
- $(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \
- head -1
-endef
+$(PKG)_UPDATE = $(call MXE_GET_GITHUB_SHA, ufoai/picomodel, master)
define $(PKG)_BUILD
cd '$(1)' && ./autogen.sh && ./configure \
diff --git a/src/pkgconf.mk b/src/pkgconf.mk
index cf5de8a..9808056 100644
--- a/src/pkgconf.mk
+++ b/src/pkgconf.mk
@@ -12,11 +12,7 @@ $(PKG)_DEPS :=
$(PKG)_DEPS_$(BUILD) := automake
-define $(PKG)_UPDATE_
- $(WGET) -q -O- 'https://github.com/pkgconf/pkgconf/commits/master' | \
- $(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \
- head -1
-endef
+$(PKG)_UPDATE = $(call MXE_GET_GITHUB_SHA, pkgconf/pkgconf, master)
define $(PKG)_UPDATE
echo 'Warning: Updates are temporarily disabled for package pkgconf.' >&2;
diff --git a/src/plibc.mk b/src/plibc.mk
index 23187f6..cb6316d 100644
--- a/src/plibc.mk
+++ b/src/plibc.mk
@@ -10,11 +10,7 @@ $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://github.com/mirror/plibc/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
-define $(PKG)_UPDATE
- $(WGET) -q -O- 'https://github.com/mirror/plibc/commits/master' | \
- $(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \
- head -1
-endef
+$(PKG)_UPDATE = $(call MXE_GET_GITHUB_SHA, mirror/plibc, master)
define $(PKG)_BUILD
cd '$(1)' && autoreconf -fi
diff --git a/src/vmime.mk b/src/vmime.mk
index 1422d58..695baf6 100644
--- a/src/vmime.mk
+++ b/src/vmime.mk
@@ -10,11 +10,7 @@ $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://github.com/kisli/vmime/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc gnutls libgsasl pthreads zlib
-define $(PKG)_UPDATE
- $(WGET) -q -O- 'https://github.com/kisli/vmime/commits/master' | \
- $(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \
- head -1
-endef
+$(PKG)_UPDATE = $(call MXE_GET_GITHUB_SHA, kisli/vmime, master)
define $(PKG)_BUILD
# The following hint is probably needed for ICU: