summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHopper262 <hopper@whpress.com>2015-09-28 19:03:27 (GMT)
committerHopper262 <hopper@whpress.com>2015-09-28 19:03:27 (GMT)
commit9bb8a03a89c02d8cd1e6170c522998abe9179e18 (patch)
tree2dfbf318737040bdf991a420f5a00690d7ca3b64
parent24c22847a38904bb138bdb0fd48652ff1726cf43 (diff)
downloadmxe-9bb8a03a89c02d8cd1e6170c522998abe9179e18.zip
mxe-9bb8a03a89c02d8cd1e6170c522998abe9179e18.tar.gz
mxe-9bb8a03a89c02d8cd1e6170c522998abe9179e18.tar.bz2
add package libspeex
-rw-r--r--index.html4
-rw-r--r--speexdsp.mk25
2 files changed, 29 insertions, 0 deletions
diff --git a/index.html b/index.html
index 9e48de3..ec162aa 100644
--- a/index.html
+++ b/index.html
@@ -2407,6 +2407,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="website"><a href="http://www.speex.org/">Speex</a></td>
</tr>
<tr>
+ <td class="package">speexdsp</td>
+ <td class="website"><a href="http://www.speex.org/">SpeexDSP</a></td>
+ </tr>
+ <tr>
<td class="package">sqlite</td>
<td class="website"><a href="http://www.sqlite.org/">SQLite</a></td>
</tr>
diff --git a/speexdsp.mk b/speexdsp.mk
new file mode 100644
index 0000000..24abca3
--- /dev/null
+++ b/speexdsp.mk
@@ -0,0 +1,25 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := speexdsp
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 1.2rc3
+$(PKG)_CHECKSUM := 4ae688600039f5d224bdf2e222d2fbde65608447e4c2f681585e4dca6df692f1
+$(PKG)_SUBDIR := speexdsp-$($(PKG)_VERSION)
+$(PKG)_FILE := speexdsp-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL := http://downloads.xiph.org/releases/speex/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc
+
+define $(PKG)_UPDATE
+ $(WGET) -q -O- 'http://git.xiph.org/?p=speexdsp.git;a=tags' | \
+ grep '<a class="list name"' | \
+ $(SED) -n 's,.*<a[^>]*>SpeexDSP-\([0-9][^<]*\)<.*,\1,p' | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && ./configure \
+ $(MXE_CONFIGURE_OPTS)
+ $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= doc_DATA=
+ $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= doc_DATA=
+endef