2 # Copyright (C) 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
10 PKG_NAME
:=freeswitch-mod-bcg729
13 PKG_MAINTAINER
:=Sebastian Kemper
<sebastian_ml@gmx.net
>
16 PKG_LICENSE_FILES
:=LICENSE
18 PKG_SOURCE_URL
:=https
://github.com
/xadhoom
/mod_bcg729.git
20 PKG_SOURCE_VERSION
:=686eb06d4a395d94c364efff4b63579af76ebec7
21 PKG_SOURCE_DATE
:=2017-06-29
22 PKG_MIRROR_HASH
:=005a7d3c69beda7d32c1a671bfe0befa5477ac3c67f21bf086d588f4c760e303
24 include $(INCLUDE_DIR
)/package.mk
26 BCG729_MOD_DIR
:=/usr
/lib
/freeswitch
/mod
38 -I
$(STAGING_DIR
)/usr
/include/bcg729 \
39 -I
$(STAGING_DIR
)/usr
/include/freeswitch
41 BCG729_LDFLAGS
:=-lm
-Wl
,-shared
-lbcg729
-Wl
,-Bdynamic
43 define Package
/freeswitch-mod-bcg729
48 URL
:=https
://github.com
/xadhoom
/mod_bcg729
49 DEPENDS
:=freeswitch
+bcg729
52 define Package
/freeswitch-mod-bcg729
/description
53 FreeSWITCH G
.729 module using the opensource bcg729 implementation by
54 Belledonne Communications.
57 define Package
/freeswitch-mod-bcg729
/install
58 $(INSTALL_DIR
) $(1)$(BCG729_MOD_DIR
)
59 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/mod_bcg729.so
$(1)$(BCG729_MOD_DIR
)
63 cd
$(PKG_BUILD_DIR
) && \
79 $(eval
$(call BuildPackage
,freeswitch-mod-bcg729
))