From 2bcdcf8183f0236c15cc45deb06cdf42d367d78d Mon Sep 17 00:00:00 2001 From: Ella Stanforth Date: Sun, 23 Jan 2022 16:53:56 +0000 Subject: [PATCH] add autossh --- extra/autossh/build.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 extra/autossh/build.sh diff --git a/extra/autossh/build.sh b/extra/autossh/build.sh new file mode 100644 index 0000000..a4473d3 --- /dev/null +++ b/extra/autossh/build.sh @@ -0,0 +1,34 @@ +pkgname=autossh +pkgver=1.4g + +fetch() { + curl "https://www.harding.motd.ca/autossh/autossh-$pkgver.tgz" -LO + tar -xf $pkgname-$pkgver.tgz +} + +build() { + cd $pkgname-$pkgver + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --build=$TRIPLE \ + --host=$TRIPLE + + make +} + +package() { + cd $pkgname-$pkgver + make install DESTDIR=$pkgdir +} + +backup() { + return +} + +license() { + cd $pkgname-$pkgver + cat LICENSE +# cat COPYING +}