Commit bd3ef966 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: factor default integrity check rule

parent aeaf6f78
...@@ -9,8 +9,6 @@ $(TARBALLS)/a52dec-$(A52DEC_VERSION).tar.gz: ...@@ -9,8 +9,6 @@ $(TARBALLS)/a52dec-$(A52DEC_VERSION).tar.gz:
$(DOWNLOAD) $(A52DEC_URL) $(DOWNLOAD) $(A52DEC_URL)
.sum-a52: a52dec-$(A52DEC_VERSION).tar.gz .sum-a52: a52dec-$(A52DEC_VERSION).tar.gz
$(CHECK_SHA512)
touch $@
a52dec: a52dec-$(A52DEC_VERSION).tar.gz .sum-a52 a52dec: a52dec-$(A52DEC_VERSION).tar.gz .sum-a52
$(UNPACK_GZ) $(UNPACK_GZ)
......
...@@ -10,8 +10,6 @@ $(TARBALLS)/directx-oss.tar.bz2: ...@@ -10,8 +10,6 @@ $(TARBALLS)/directx-oss.tar.bz2:
$(DOWNLOAD) $(DX_HEADERS_URL) $(DOWNLOAD) $(DX_HEADERS_URL)
.sum-directx: directx-oss.tar.bz2 .sum-directx: directx-oss.tar.bz2
$(CHECK_SHA512)
touch $@
.directx: directx-oss.tar.bz2 .sum-directx .directx: directx-oss.tar.bz2 .sum-directx
mkdir -p -- "$(PREFIX)/include" mkdir -p -- "$(PREFIX)/include"
......
...@@ -22,8 +22,6 @@ $(TARBALLS)/d2d_headers.tar.gz: ...@@ -22,8 +22,6 @@ $(TARBALLS)/d2d_headers.tar.gz:
DSHOW_SOURCES := dshow-headers-oss.tar.bz2 dxva2api.h d2d_headers.tar.gz DSHOW_SOURCES := dshow-headers-oss.tar.bz2 dxva2api.h d2d_headers.tar.gz
.sum-dshow: $(DSHOW_SOURCES) .sum-dshow: $(DSHOW_SOURCES)
$(CHECK_SHA512)
touch $@
.dshow: $(DSHOW_SOURCES) .sum-dshow .dshow: $(DSHOW_SOURCES) .sum-dshow
mkdir -p -- "$(PREFIX)/include" mkdir -p -- "$(PREFIX)/include"
......
...@@ -8,8 +8,6 @@ $(TARBALLS)/libebml-$(EBML_VERSION).tar.bz2: ...@@ -8,8 +8,6 @@ $(TARBALLS)/libebml-$(EBML_VERSION).tar.bz2:
$(DOWNLOAD) $(EBML_URL) $(DOWNLOAD) $(EBML_URL)
.sum-ebml: libebml-$(EBML_VERSION).tar.bz2 .sum-ebml: libebml-$(EBML_VERSION).tar.bz2
$(CHECK_SHA512)
touch $@
libebml: libebml-$(EBML_VERSION).tar.bz2 .sum-ebml libebml: libebml-$(EBML_VERSION).tar.bz2 .sum-ebml
$(UNPACK_BZ2) $(UNPACK_BZ2)
......
...@@ -9,8 +9,6 @@ $(TARBALLS)/flac-$(FLAC_VERSION).tar.gz: ...@@ -9,8 +9,6 @@ $(TARBALLS)/flac-$(FLAC_VERSION).tar.gz:
$(DOWNLOAD) $(FLAC_URL) $(DOWNLOAD) $(FLAC_URL)
.sum-flac: flac-$(FLAC_VERSION).tar.gz .sum-flac: flac-$(FLAC_VERSION).tar.gz
$(CHECK_SHA512)
touch $@
flac: flac-$(FLAC_VERSION).tar.gz .sum-flac flac: flac-$(FLAC_VERSION).tar.gz .sum-flac
$(UNPACK_GZ) $(UNPACK_GZ)
......
...@@ -8,8 +8,6 @@ $(TARBALLS)/live555-latest.tar.gz: ...@@ -8,8 +8,6 @@ $(TARBALLS)/live555-latest.tar.gz:
$(DOWNLOAD) $(LIVEDOTCOM_URL) $(DOWNLOAD) $(LIVEDOTCOM_URL)
.sum-live555: live555-latest.tar.gz .sum-live555: live555-latest.tar.gz
$(CHECK_SHA512)
touch $@
live555: live555-latest.tar.gz .sum-live555 live555: live555-latest.tar.gz .sum-live555
$(UNPACK_GZ) $(UNPACK_GZ)
......
...@@ -25,8 +25,6 @@ $(TARBALLS)/lua-$(LUA_VERSION).tar.gz: ...@@ -25,8 +25,6 @@ $(TARBALLS)/lua-$(LUA_VERSION).tar.gz:
$(DOWNLOAD) $(LUA_URL) $(DOWNLOAD) $(LUA_URL)
.sum-lua: lua-$(LUA_VERSION).tar.gz .sum-lua: lua-$(LUA_VERSION).tar.gz
$(CHECK_SHA512)
touch $@
lua: lua-$(LUA_VERSION).tar.gz .sum-lua lua: lua-$(LUA_VERSION).tar.gz .sum-lua
$(UNPACK_GZ) $(UNPACK_GZ)
......
...@@ -222,4 +222,11 @@ endif ...@@ -222,4 +222,11 @@ endif
echo "set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)" >> $@ echo "set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)" >> $@
echo "set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> $@ echo "set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> $@
#.SECONDEXPANSION:
# Default pattern rules
.sum-%: $(SRC)/%/SHA512SUMS
$(CHECK_SHA512)
touch $@
.DELETE_ON_ERROR: .DELETE_ON_ERROR:
...@@ -10,8 +10,6 @@ $(TARBALLS)/libmatroska-$(MATROSKA_VERSION).tar.bz2: ...@@ -10,8 +10,6 @@ $(TARBALLS)/libmatroska-$(MATROSKA_VERSION).tar.bz2:
$(DOWNLOAD) $(MATROSKA_URL) $(DOWNLOAD) $(MATROSKA_URL)
.sum-matroska: libmatroska-$(MATROSKA_VERSION).tar.bz2 .sum-matroska: libmatroska-$(MATROSKA_VERSION).tar.bz2
$(CHECK_SHA512)
touch $@
libmatroska: libmatroska-$(MATROSKA_VERSION).tar.bz2 .sum-matroska libmatroska: libmatroska-$(MATROSKA_VERSION).tar.bz2 .sum-matroska
$(UNPACK_BZ2) $(UNPACK_BZ2)
......
...@@ -12,8 +12,6 @@ $(TARBALLS)/libogg-$(OGG_VERSION).tar.xz: ...@@ -12,8 +12,6 @@ $(TARBALLS)/libogg-$(OGG_VERSION).tar.xz:
$(DOWNLOAD) $(OGG_URL) $(DOWNLOAD) $(OGG_URL)
.sum-ogg: libogg-$(OGG_VERSION).tar.xz .sum-ogg: libogg-$(OGG_VERSION).tar.xz
$(CHECK_SHA512)
touch $@
libogg: libogg-$(OGG_VERSION).tar.xz .sum-ogg libogg: libogg-$(OGG_VERSION).tar.xz .sum-ogg
$(UNPACK_XZ) $(UNPACK_XZ)
......
...@@ -9,8 +9,6 @@ $(TARBALLS)/speex-$(SPEEX_VERSION).tar.gz: ...@@ -9,8 +9,6 @@ $(TARBALLS)/speex-$(SPEEX_VERSION).tar.gz:
$(DOWNLOAD) $(SPEEX_URL) $(DOWNLOAD) $(SPEEX_URL)
.sum-speex: speex-$(SPEEX_VERSION).tar.gz .sum-speex: speex-$(SPEEX_VERSION).tar.gz
$(CHECK_SHA512)
touch $@
speex: speex-$(SPEEX_VERSION).tar.gz .sum-speex speex: speex-$(SPEEX_VERSION).tar.gz .sum-speex
$(UNPACK_GZ) $(UNPACK_GZ)
......
...@@ -10,8 +10,6 @@ $(TARBALLS)/libtheora-$(THEORA_VERSION).tar.xz: ...@@ -10,8 +10,6 @@ $(TARBALLS)/libtheora-$(THEORA_VERSION).tar.xz:
$(DOWNLOAD) $(THEORA_URL) $(DOWNLOAD) $(THEORA_URL)
.sum-theora: libtheora-$(THEORA_VERSION).tar.xz .sum-theora: libtheora-$(THEORA_VERSION).tar.xz
$(CHECK_SHA512)
touch $@
libtheora: libtheora-$(THEORA_VERSION).tar.xz .sum-theora libtheora: libtheora-$(THEORA_VERSION).tar.xz .sum-theora
$(UNPACK_XZ) $(UNPACK_XZ)
......
...@@ -15,8 +15,6 @@ $(TARBALLS)/libvorbis-$(VORBIS_VERSION).tar.xz: ...@@ -15,8 +15,6 @@ $(TARBALLS)/libvorbis-$(VORBIS_VERSION).tar.xz:
$(DOWNLOAD) $(VORBIS_URL) $(DOWNLOAD) $(VORBIS_URL)
.sum-vorbis: libvorbis-$(VORBIS_VERSION).tar.xz .sum-vorbis: libvorbis-$(VORBIS_VERSION).tar.xz
$(CHECK_SHA512)
touch $@
libvorbis: libvorbis-$(VORBIS_VERSION).tar.xz .sum-vorbis libvorbis: libvorbis-$(VORBIS_VERSION).tar.xz .sum-vorbis
$(UNPACK_XZ) $(UNPACK_XZ)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment