# $Id$
#-
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		autossh
PKG_VERSION:=		1.4b
PKG_RELEASE:=		1
PKG_MD5SUM:=		8f9aa006f6f69e912d3c2f504622d6f7
PKG_DESCR:=		Automatically restart SSH sessions and tunnels
PKG_SECTION:=		net
PKG_DEPENDS:=		openssh-client
PKG_URL:=		http://www.harding.motd.ca/autossh
PKG_SITES:=		http://www.harding.motd.ca/autossh/

DISTFILES:=		$(PKG_NAME)-$(PKG_VERSION).tgz

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,AUTOSSH,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_STYLE:=	gnu
BUILD_STYLE:=		auto

do-install:
	$(INSTALL_DIR) $(IDIR_AUTOSSH)/usr/bin
	$(INSTALL_BIN) $(WRKBUILD)/autossh $(IDIR_AUTOSSH)/usr/bin/

include ${TOPDIR}/mk/pkg-bottom.mk
