add autossh
This commit is contained in:
parent
85619cc189
commit
2bcdcf8183
1 changed files with 34 additions and 0 deletions
34
extra/autossh/build.sh
Normal file
34
extra/autossh/build.sh
Normal 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
|
||||
}
|
Loading…
Reference in a new issue