mirror of https://git.wownero.com/dsc/mxe.git
x264: use last commit date in update macro
This commit is contained in:
parent
b672cd8266
commit
3691ac38b0
|
@ -11,7 +11,10 @@ $(PKG)_URL := http://download.videolan.org/pub/videolan/$(PKG)/snapshots/$(
|
|||
$(PKG)_DEPS := gcc yasm
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(DATE) -d yesterday +%Y%m%d-2245
|
||||
$(WGET) -q -O- 'http://git.videolan.org/?p=x264.git;a=shortlog' | \
|
||||
$(SED) -n 's,.*\([0-9]\{4\}\)-\([0-9]\{2\}\)-\([0-9]\{2\}\).*,\1\2\3-2245,p' | \
|
||||
sort | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
|
|
Loading…
Reference in New Issue