mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 22:52:40 +01:00
33 lines
1003 B
Plaintext
33 lines
1003 B
Plaintext
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libssh
|
|
pkgver=0.7.6
|
|
pkgrel=1
|
|
pkgdesc="Library for accessing ssh client services through C libraries"
|
|
url="http://www.libssh.org/"
|
|
arch="all"
|
|
license="LGPL"
|
|
makedepends="zlib-dev openssl-dev cmake doxygen"
|
|
subpackages="$pkgname-dev"
|
|
options="!check"
|
|
source="https://www.libssh.org/files/0.7/libssh-$pkgver.tar.xz
|
|
fix-includes.patch"
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$srcdir"
|
|
mkdir build && cd build
|
|
cmake "$builddir" \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir"/build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="2a01402b5a9fab9ecc29200544ed45d3f2c40871ed1c8241ca793f8dc7fdb3ad2150f6a522c4321affa9b8778e280dc7ed10f76adfc4a73f0751ae735a42f56c libssh-0.7.6.tar.xz
|
|
055a8f6b97c65384a5a3ab8fe00c69d94cc30092fe926093dbbc122ce301fbe9d76127aa07b5e6107d7fa9dd2aad6b165fa0958b56520253b5d64428ff42a318 fix-includes.patch"
|