iglunix/base/openssh/build.sh

33 lines
463 B
Bash
Raw Normal View History

2021-06-01 12:16:35 +00:00
pkgname=openssh
2021-12-26 12:40:14 +00:00
pkgver=8.8p1
2021-06-01 12:16:35 +00:00
fetch() {
curl "https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
2021-12-26 12:40:14 +00:00
--build=$TRIPLE \
--host=$TRIPLE \
2021-06-01 12:16:35 +00:00
--libexecdir=/usr/lib
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
2021-12-26 12:40:14 +00:00
backup() {
return
}
2021-06-01 12:16:35 +00:00
license() {
cd $pkgname-$pkgver
cat LICENCE
}