(cd$<;$(HOSTCC) ./configure $(FFMPEGCONF)--prefix=$(PREFIX)--extra-cflags="$(CFLAGS)$(FFMPEG_CFLAGS) -DRUNTIME_CPUDETECT"--extra-ldflags="$(LDFLAGS)"$(FFMPEGCONF)--disable-shared--enable-static&& make && make install-libs install-headers)
...
...
@@ -2549,6 +2549,29 @@ CLEAN_FILE += .libupnp
CLEAN_PKG+= libupnp
DISTCLEAN_PKG+= libupnp-$(UPNP_VERSION).tar.bz2
# *********
# GSM
# *********
gsm-$(GSM_VERSION).tar.gz:
$(WGET)$(GSM_URL)
gsm:gsm-$(GSM_VERSION).tar.gz
rm-rf$@||true
gunzip-c$< | tar xf - --exclude='[*?:<>\|]'
mv gsm-1.0-* gsm ||true
ifneq($(HOST),$(BUILD))
(patch -p0 < Patches/gsm-cross.patch)
endif
.gsm:gsm
(cd$<;$(HOSTCC) make &&cp inc/gsm.h $(PREFIX)/include &&cp lib/libgsm.a $(PREFIX)/lib)