Commit be00c0f7 authored by Konstantin Pavlov's avatar Konstantin Pavlov

contrib: srt: call pkg_static.

parent 5115a88a
cb897c97d5fd93b333c8de0805c78c940650a2daf8d821e09e3fb01c7e4b56bd7513cf28545f7ac422fba9fa8420b745f397359a4b9e81cff496c776820ea90a srt-v1.2.2.tar.gz
cb897c97d5fd93b333c8de0805c78c940650a2daf8d821e09e3fb01c7e4b56bd7513cf28545f7ac422fba9fa8420b745f397359a4b9e81cff496c776820ea90a srt-1.2.2.tar.gz
# srt
SRT_VERSION := 1.2.2
SRT_TARBALL := srt-v$(SRT_VERSION).tar.gz
SRT_URL := $(GITHUB)/Haivision/srt/archive/v$(SRT_VERSION).tar.gz
ifndef HAVE_WIN32
......@@ -17,13 +16,14 @@ ifdef HAVE_DARWIN_OS
SRT_DARWIN=CFLAGS="$(CFLAGS) -Wno-error=partial-availability" CXXFLAGS="$(CXXFLAGS) -Wno-error=partial-availability"
endif
$(TARBALLS)/$(SRT_TARBALL):
$(TARBALLS)/srt-$(SRT_VERSION).tar.gz:
$(call download_pkg,$(SRT_URL),srt)
.sum-srt: $(SRT_TARBALL)
.sum-srt: srt-$(SRT_VERSION).tar.gz
srt: $(SRT_TARBALL) .sum-srt
srt: srt-$(SRT_VERSION).tar.gz .sum-srt
$(UNPACK)
$(call pkg_static,"scripts/haisrt.pc.in")
mv srt-$(SRT_VERSION) $@ && touch $@
DEPS_srt = gnutls $(DEPS_gnutls)
......
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