2006-08-05 02:51:59 +00:00
|
|
|
#
|
2009-04-29 12:56:17 +00:00
|
|
|
# Copyright (C) 2006-2009 OpenWrt.org
|
2006-08-05 02:51:59 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=miax
|
|
|
|
PKG_VERSION:=1.4
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
|
2009-06-13 17:01:55 +00:00
|
|
|
PKG_SOURCE_URL:=@SF/miax
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_MD5SUM:=44f0d2ef46ee2697d890b7b96846adc7
|
2006-08-05 02:51:59 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/miax
|
2006-10-30 13:51:50 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-12 00:25:24 +00:00
|
|
|
SUBMENU:=Telephony
|
2006-10-30 13:51:50 +00:00
|
|
|
DEPENDS:=+libpthread +bluez-libs
|
|
|
|
TITLE:=A console iax (asterisk) client
|
2009-06-13 17:01:55 +00:00
|
|
|
URL:=http://www.eja.it/?l=en&n=miax
|
2006-08-05 02:51:59 +00:00
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/miax/description
|
|
|
|
miax is a console iax (asterisk) client, it can work with
|
|
|
|
a soundcard as a normal voip phone, taking input/output from
|
|
|
|
keyboard, analog/gsm/isdn modem or bluetooth phones.
|
|
|
|
endef
|
|
|
|
|
2006-08-18 21:21:06 +00:00
|
|
|
define Build/Compile
|
2006-08-05 02:51:59 +00:00
|
|
|
$(MAKE) -C "$(PKG_BUILD_DIR)" \
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
OFLAGS="$(TARGET_CFLAGS)" \
|
2009-04-29 12:56:17 +00:00
|
|
|
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
2006-08-05 02:51:59 +00:00
|
|
|
all
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/miax/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/miax $(1)/usr/bin/
|
2006-08-05 02:51:59 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,miax))
|