3 # Adjust SSH below to suit.
5 include $(TOPDIR
)/rules.mk
10 PKG_MD5SUM
:=0e7ec62eeca5d1b197f3ef2d0f0d417f
11 PKG_SOURCE_URL
:=http
://www.harding.motd.ca
/autossh
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
21 include $(TOPDIR
)/package
/rules.mk
23 $(eval
$(call PKG_template
,AUTOSSH
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
25 $(PKG_BUILD_DIR
)/.configured
:
26 cp
$(PKG_BUILD_DIR
)/Makefile.linux
$(PKG_BUILD_DIR
)/Makefile
29 $(PKG_BUILD_DIR
)/.built
:
30 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
31 CC
=$(TARGET_CC
) CFLAGS
="$(TARGET_CFLAGS) -Wall -D\"SSH_PATH=\\\"$(SSH)\\\"\" -D\"VER=\\\"$(PKG_VERSION)\\\"\"" \
32 BINDIR
=/usr
/bin MANDIR
=/usr
/man
36 mkdir
-p
$(IDIR_AUTOSSH
)/usr
/bin
37 cp
$(PKG_BUILD_DIR
)/$(PKG_NAME
) $(IDIR_AUTOSSH
)/usr
/bin
/
38 $(RSTRIP
) $(IDIR_AUTOSSH
)
39 $(IPKG_BUILD
) $(IDIR_AUTOSSH
) $(PACKAGE_DIR
)