add autossh

This commit is contained in:
Ella Stanforth 2022-01-23 16:53:56 +00:00
parent 85619cc189
commit 2bcdcf8183

34
extra/autossh/build.sh Normal file
View file

@ -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
}