2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://mesh.dl.sourceforge.net
/sourceforge
/miax
/
17 PKG_MD5SUM
:=44f0d2ef46ee2697d890b7b96846adc7
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
22 include $(INCLUDE_DIR
)/package.mk
27 DEPENDS
:=+libpthread
+bluez-libs
28 TITLE
:=A console iax
(asterisk
) client
29 URL
:=http
://www.eja.it
/?l
=gpl
&testo
=miax
32 define Package
/miax
/description
33 miax is a console iax
(asterisk
) client
, it can work with
34 a soundcard
as a normal voip phone
, taking input
/output from
35 keyboard
, analog
/gsm
/isdn modem or bluetooth phones.
39 $(MAKE
) -C
"$(PKG_BUILD_DIR)" \
41 OFLAGS
="$(TARGET_CFLAGS)" \
42 CPPFLAGS
="-I$(STAGING_DIR)/usr/include" \
43 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
47 define Package
/miax
/install
48 $(INSTALL_DIR
) $(1)/usr
/bin
49 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/miax
$(1)/usr
/bin
/
52 $(eval
$(call BuildPackage
,miax
))