smlinux/base/libssh2/libssh2.SMBuild

34 lines
689 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libssh2
version=1.9.0
build=1sml
homepage="http://www.libssh2.org/"
download="https://www.libssh2.org/download/libssh2-$version.tar.gz"
desc="SSH2 library"
requires="zlib openssl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--enable-static=no
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
62a44fbaea33c8db8c7f59805fd4c593fcbbf27ad66764611ea40a09aeab8a0ec581d966e3bbd3ebcc37f707b69311770f6a5e45def64dec72d0b772be721445 libssh2-1.9.0.tar.lz
"