2 # Copyright (C) 2006-2017 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://downloads.us.xiph.org
/releases
/speex
/
16 PKG_HASH
:=682042fc6f9bee6294ec453f470dadc26c6ff29b9c9e9ad2ffc1f4312fd64771
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/libspeexdsp
26 TITLE
:=Open source speech compression codec library output to DSP
27 URL
:=http
://www.speex.org
/
28 MAINTAINER
:=Peter Wagner
<tripolar@gmx.at
>
31 define Package
/libspeexdsp
/description
32 Open source patent-free speech compression codec library.
33 Speex is an Open Source
/Free Software patent-free audio compression
34 format designed for speech. The Speex Project aims to lower the
35 barrier of entry for voice applications by providing a free
36 alternative to expensive proprietary speech codecs. Moreover
, Speex
37 is well-adapted to Internet applications and provides useful features
38 that are not present in most other codecs.
40 This package contains the shared dsp library
, needed by other programs.
43 define Build
/InstallDev
44 $(INSTALL_DIR
) $(1)/usr
/include
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/speex
$(1)/usr
/include/
46 $(INSTALL_DIR
) $(1)/usr
/lib
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libspeexdsp.
{a
,so
*} $(1)/usr
/lib
/
48 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
49 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/speexdsp.
pc $(1)/usr
/lib
/pkgconfig
/
52 define Package
/libspeexdsp
/install
53 $(INSTALL_DIR
) $(1)/usr
/lib
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libspeexdsp.so.
* $(1)/usr
/lib
/
57 TARGET_CFLAGS
+= $(FPIC
)
63 $(if
$(CONFIG_SOFT_FLOAT
),--enable-fixed-point
--disable-float-api
)
65 $(eval
$(call BuildPackage
,libspeexdsp
))