aboutsummaryrefslogtreecommitdiffstats
path: root/package/comgt/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-20 08:47:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-20 08:47:19 +0000
commit49b905a2cf884c01aac3a863c981af4abf6ac6c8 (patch)
tree6352eba4c68d2ce1778e471c9f6f02729fff101b /package/comgt/Makefile
parent60d593c2d727c5f325ee65c514f3dc30ae64e7e3 (diff)
downloadupstream-49b905a2cf884c01aac3a863c981af4abf6ac6c8.tar.gz
upstream-49b905a2cf884c01aac3a863c981af4abf6ac6c8.tar.bz2
upstream-49b905a2cf884c01aac3a863c981af4abf6ac6c8.zip
comgt: clean up patch, rename gcom binary to comgt, but add a compatibility symlink
SVN-Revision: 27699
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 00c1118113..61c123a737 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