iglunix/extra/autossh/build.sh

35 lines
451 B
Bash
Raw Normal View History

2022-01-23 16:53:56 +00:00
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
}