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.harding.motd.ca
/autossh
/
17 PKG_MD5SUM
:=0e7ec62eeca5d1b197f3ef2d0f0d417f
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/autossh
27 DEPENDS
:=+openssh-client
29 URL
:=http
://www.harding.motd.ca
/autossh
/
33 $(call Build
/Compile
/Default
, -f Makefile.linux \
34 CFLAGS
="$(TARGET_CFLAGS) -Wall -D\"SSH_PATH=\\\"\$$$$(SSH)\\\"\" -D\"VER=\\\"\$$$$(VER)\\\"\"" \
39 define Package
/autossh
/install
40 $(INSTALL_DIR
) $(1)/usr
/sbin
41 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/autossh
$(1)/usr
/sbin
/
44 $(eval
$(call BuildPackage
,autossh
))