Signed-off-by: Viktar Palstsiuk <viktar.palsts...@promwad.com>
---
 net/asterisk-codec-g72x/Makefile |   47 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 net/asterisk-codec-g72x/Makefile

diff --git a/net/asterisk-codec-g72x/Makefile b/net/asterisk-codec-g72x/Makefile
new file mode 100644
index 0000000..9dba4cf
--- /dev/null
+++ b/net/asterisk-codec-g72x/Makefile
@@ -0,0 +1,47 @@
+#
+# Copyright (C) 2012 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=asterisk18-codec-g72x
+PKG_VERSION:=1.1-beta3
+PKG_RELEASE:=1
+
+PKG_SOURCE:=asterisk-g72x-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=http://asterisk.hosting.lv/src/
+PKG_MD5SUM:=578e66fd8629a6055ef3e0903a5be6f3
+
+PKG_BUILD_DIR=$(BUILD_DIR)/asterisk-g72x-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/asterisk18-codec-g72x
+  SUBMENU:=Telephony
+  SECTION:=net
+  CATEGORY:=Network
+  TITLE:=G.729 and G.723.1 codecs for Asterisk
+  URL:=http://asterisk.hosting.lv/
+  MAINTAINER:=Viktar Palstsiuk <viktar.palsts...@promwad.com>
+  DEPENDS:=+asterisk18
+endef
+
+define Package/asterisk18-codec-g72x/description
+ G.729 and G.723.1 codecs for Asterisk open source PBX.
+endef
+
+CONFIGURE_ARGS += \
+       --with-itu \
+       --with-g729nofp \
+       --with-asterisk18 \
+       
--with-asterisk-includes=$(STAGING_DIR)/usr/include/asterisk-1.8/include/
+
+define Package/asterisk18-codec-g72x/install
+       $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+       $(CP) $(PKG_BUILD_DIR)/.libs/codec_g72{3,9}.so 
$(1)/usr/lib/asterisk/modules/
+endef
+
+$(eval $(call BuildPackage,asterisk18-codec-g72x))
-- 
1.7.7.3

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to