]> git.sesse.net Git - vlc/blob - contrib/src/speex/rules.mak
contrib: use VPATH to symplify tarball dependencies
[vlc] / contrib / src / speex / rules.mak
1 # speex
2
3 SPEEX_VERSION := 1.2rc1
4 SPEEX_URL := http://downloads.us.xiph.org/releases/speex/speex-$(SPEEX_VERSION).tar.gz
5
6 PKGS += speex
7
8 $(TARBALLS)/speex-$(SPEEX_VERSION).tar.gz:
9         $(DOWNLOAD) $(SPEEX_URL)
10
11 .sum-speex: speex-$(SPEEX_VERSION).tar.gz
12         $(CHECK_SHA512)
13         touch $@
14
15 speex: speex-$(SPEEX_VERSION).tar.gz .sum-speex
16         $(UNPACK_GZ)
17         mv $@-$(SPEEX_VERSION) $@
18         touch $@
19
20 # TODO: fixed point and ASM opts
21
22 .speex: speex
23         cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-ogg
24         cd $< && $(MAKE) install
25         touch $@