contrib/libssh/Pkgfile

19 lines
456 B
Plaintext

# Description: ssh library
# URL: https://libssh.org
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: cmake
name=libssh
version=0.9.4
release=1
source=(https://www.libssh.org/files/${version%.*}/libssh-${version}.tar.xz)
build() {
cmake -S$name-$version -Bbuild \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release
cmake --build build
DESTDIR=$PKG cmake --install build
}