mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 10:54:37 +08:00
28 lines
607 B
Bash
28 lines
607 B
Bash
pkgname=libssh
|
|
pkgver=0.6.5
|
|
pkgrel=1
|
|
_pkgver=121
|
|
pkgdesc="Library for accessing ssh client services through C libraries"
|
|
url="http://www.libssh.org/"
|
|
license=('LGPL')
|
|
arch=('x86_64')
|
|
depends=('openssl')
|
|
makedepends=('cmake' 'doxygen')
|
|
source=("https://red.libssh.org/attachments/download/${_pkgver}/${pkgname}-${pkgver}.tar.xz")
|
|
md5sums=('fdf107011ae1847d86620b39ae37d4f3')
|
|
|
|
build() {
|
|
cd "${srcdir}"
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
|
|
package(){
|
|
cd "${srcdir}"/build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|