Better x86 generic config, the lzma decompressor is now reliable (thanks to Daniel...
[openwrt.git] / package / comgt / 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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=comgt
12 PKG_VERSION:=0.32
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=@SF/comgt
17 PKG_MD5SUM:=db2452680c3d953631299e331daf49ef
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/comgt
24 SECTION:=utils
25 CATEGORY:=Utilities
26 TITLE:=Option/Vodafone 3G/GPRS control tool
27 DEPENDS:=+chat
28 DESCRIPTION:=\
29 comgt is a scripting language interpreter useful for establishing communications \\\
30 on serial lines and through PCMCIA modems as well as GPRS and 3G datacards.
31 URL:= http://www.pharscape.org/content/view/46/70/
32 endef
33
34
35 define Build/Compile
36 $(MAKE) -C $(PKG_BUILD_DIR) \
37 $(TARGET_CONFIGURE_OPTS) \
38 CFLAGS="$(TARGET_CFLAGS)" \
39 gcom
40 endef
41
42 define Package/comgt/install
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/gcom $(1)/usr/bin/
45 $(INSTALL_DIR) $(1)/etc/ppp
46 $(INSTALL_BIN) ./files/3g.connect $(1)/etc/ppp/3g.connect
47 $(INSTALL_DIR) $(1)/etc/chatscripts
48 $(INSTALL_DATA) ./files/3g.chat $(1)/etc/chatscripts/3g.chat
49 $(INSTALL_DIR) $(1)/lib/network
50 $(INSTALL_DATA) ./files/3g.sh $(1)/lib/network/3g.sh
51 $(INSTALL_DIR) $(1)/etc/hotplug.d/button
52 $(INSTALL_DATA) ./files/3g.button $(1)/etc/hotplug.d/button/05-3g
53 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
54 $(INSTALL_DATA) ./files/3g.iface $(1)/etc/hotplug.d/iface/05-3g
55 $(INSTALL_DIR) $(1)/etc/gcom
56 $(INSTALL_DATA) ./files/setpin.gcom $(1)/etc/gcom/setpin.gcom
57 $(INSTALL_DATA) ./files/setmode.gcom $(1)/etc/gcom/setmode.gcom
58 $(INSTALL_DATA) ./files/getcardinfo.gcom $(1)/etc/gcom/getcardinfo.gcom
59 $(INSTALL_DATA) ./files/getstrength.gcom $(1)/etc/gcom/getstrength.gcom
60 endef
61
62 $(eval $(call BuildPackage,comgt))
63
This page took 0.041993 seconds and 5 git commands to generate.