packages: use $(LN) macro, make symlinks relative

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 45250
This commit is contained in:
Nicolas Thill
2015-04-03 00:07:43 +00:00
parent 6a5a7db085
commit fe46689f10
9 changed files with 17 additions and 17 deletions

View File

@@ -64,7 +64,7 @@ endef
define Package/comgt/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/comgt $(1)/usr/bin/
ln -s comgt $(1)/usr/bin/gcom
$(LN) comgt $(1)/usr/bin/gcom
$(INSTALL_DIR) $(1)/etc/chatscripts
$(INSTALL_DATA) ./files/3g.chat $(1)/etc/chatscripts/3g.chat
$(INSTALL_DATA) ./files/evdo.chat $(1)/etc/chatscripts/evdo.chat