2 # Copyright (C) 2006-2014 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
:=http
://download-mirror.savannah.gnu.org
/releases
/linphone
/plugins
/sources
/
16 PKG_MD5SUM
:=5d0c160129c0850c43dd66c78efe429b
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 PKG_LICENSE_FILES
:=COPYING
23 PKG_MAINTAINER
:=Alex Samorukov
<samm@os2.kiev.ua
>
25 include $(INCLUDE_DIR
)/package.mk
31 TITLE
:=Software G729A encoder and decoder library written in C
32 URL
:=http
://www.linphone.org
/technical-corner
/bcg729.html
33 DEPENDS
:=@BUILD_PATENTED
36 define Package
/bcg729
/description
37 Bcg729 is a software G729A encoder and decoder library written in C
, developed
38 by Belledonne Communications
, the company supporting the Linphone project.
39 It was written from scratch and is NOT a derivative work of ITU reference
40 source code in any kind.
43 TARGET_CFLAGS
+= $(FPIC
)
48 define Build
/InstallDev
49 $(INSTALL_DIR
) $(1)/usr
/include
50 $(CP
) -R
$(PKG_INSTALL_DIR
)/usr
/include/bcg729
$(1)/usr
/include/
51 $(INSTALL_DIR
) $(1)/usr
/lib
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libbcg729.
{a
,so
*} $(1)/usr
/lib
/
53 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libbcg729.
pc $(1)/usr
/lib
/pkgconfig
/
57 define Package
/bcg729
/install
58 $(INSTALL_DIR
) $(1)/usr
/lib
59 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libbcg729.so
* $(1)/usr
/lib
/
62 $(eval
$(call BuildPackage
,bcg729
))