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
).tgz
16 PKG_SOURCE_URL
:=http
://www.pharscape.org
/3G
/comgt
17 PKG_MD5SUM
:=cd32663025ed94a0ee623a689989f3c3
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_UNPACK
:=zcat
$(DL_DIR
)/$(PKG_SOURCE
) |
$(TAR
) -C
$(PKG_BUILD_DIR
) $(TAR_OPTIONS
)
22 include $(INCLUDE_DIR
)/package.mk
27 TITLE
:=Option
/Vodafone
3G
/GPRS control tool
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/
35 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
36 $(TARGET_CONFIGURE_OPTS
) \
37 CFLAGS
="$(TARGET_CFLAGS)" \
41 define Package
/comgt
/install
42 install -d
-m0755
$(1)/usr
/bin
43 install -m0755
$(PKG_BUILD_DIR
)/gcom
$(1)/usr
/bin
/
44 install -d
-m0755
$(1)/etc
/gcom
45 install -m0644 .
/files
/setpin.gcom
$(1)/etc
/gcom
/setpin.gcom
46 install -m0644 .
/files
/setmode.gcom
$(1)/etc
/gcom
/setmode.gcom
47 install -m0644 .
/files
/getcardinfo.gcom
$(1)/etc
/gcom
/getcardinfo.gcom
48 install -m0644 .
/files
/getstrength.gcom
$(1)/etc
/gcom
/getstrength.gcom
51 $(eval
$(call BuildPackage
,comgt
))