rules.mak 520 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
# speex

SPEEX_VERSION := 1.2rc1
SPEEX_URL := http://downloads.us.xiph.org/releases/speex/speex-$(SPEEX_VERSION).tar.gz

PKGS += speex

$(TARBALLS)/speex-$(SPEEX_VERSION).tar.gz:
	$(DOWNLOAD) $(SPEEX_URL)

11
.sum-speex: speex-$(SPEEX_VERSION).tar.gz
12 13 14
	$(CHECK_SHA512)
	touch $@

15
speex: speex-$(SPEEX_VERSION).tar.gz .sum-speex
16 17 18 19 20 21 22 23 24 25
	$(UNPACK_GZ)
	mv $@-$(SPEEX_VERSION) $@
	touch $@

# TODO: fixed point and ASM opts

.speex: speex
	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-ogg
	cd $< && $(MAKE) install
	touch $@