x264: use last commit date in update macro

This commit is contained in:
Tony Theodore 2014-12-03 21:25:25 +11:00
parent b672cd8266
commit 3691ac38b0
1 changed files with 4 additions and 1 deletions

View File

@ -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