summaryrefslogtreecommitdiffstats
path: root/package/comgt/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-20 08:47:19 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-20 08:47:19 +0000
commit33f858ee205cf55679ddce8cad468c7bb178bd67 (patch)
treee8d0c4a2610601db4b43b09f97adf657a2fc67c2 /package/comgt/Makefile
parente455c0cb2f404f16bb289d02953d522bae721059 (diff)
comgt: clean up patch, rename gcom binary to comgt, but add a compatibility symlink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27699 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/comgt/Makefile')
-rw-r--r--package/comgt/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/comgt/Makefile b/package/comgt/Makefile
index 00c111811..61c123a73 100644
--- a/package/comgt/Makefile
+++ b/package/comgt/Makefile
@@ -37,12 +37,14 @@ define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
- gcom
+ LDFLAGS="" \
+ comgt
endef
-
+
define Package/comgt/install
$(INSTALL_DIR) $(1)/usr/bin
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/gcom $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/comgt $(1)/usr/bin/
+ ln -s comgt $(1)/usr/bin/gcom
$(INSTALL_DIR) $(1)/etc/ppp
$(INSTALL_BIN) ./files/3g.connect $(1)/etc/ppp/3g.connect
$(INSTALL_DIR) $(1)/etc/chatscripts