nuke $Id$ in /packages as well
[packages.git] / net / miax / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=miax
11 PKG_VERSION:=1.4
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://mesh.dl.sourceforge.net/sourceforge/miax/
16 PKG_MD5SUM:=44f0d2ef46ee2697d890b7b96846adc7
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/miax
23   SECTION:=net
24   CATEGORY:=Network
25   DEPENDS:=+libpthread +bluez-libs
26   TITLE:=A console iax (asterisk) client
27   URL:=http://www.eja.it/?l=gpl&testo=miax
28 endef
29
30 define Package/miax/description
31         miax is a console iax (asterisk) client, it can work with 
32         a soundcard as a normal voip phone, taking input/output from 
33         keyboard, analog/gsm/isdn modem or bluetooth phones.
34 endef
35
36 define Build/Compile
37         $(MAKE) -C "$(PKG_BUILD_DIR)" \
38                 CC="$(TARGET_CC)" \
39                 OFLAGS="$(TARGET_CFLAGS)" \
40                 CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
41                 LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
42                 all
43 endef
44
45 define Package/miax/install     
46         $(INSTALL_DIR) $(1)/usr/bin
47         $(INSTALL_BIN) $(PKG_BUILD_DIR)/miax $(1)/usr/bin/
48 endef
49
50 $(eval $(call BuildPackage,miax))