summaryrefslogtreecommitdiffstats
path: root/libssh/Pkgfile
blob: 3447373573d550f3d98f391e3a2375baf81e72cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Librairie permettant l'usage de ssh dans des client à travers la librairie C
# URL: http://www.libssh.org/
# Maintainer: NuTyX packager team
# Packager: thierryn1 at hispeed dot ch
# Depends on: cmake
# Run on:

name=libssh
version=0.5.2
release=1
source=(https://red.libssh.org/attachments/download/27/$name-$version.tar.gz)

build() {
	cd $name-$version
	mkdir build
	cd build
	cmake .. \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_BUILD_TYPE=Release
	make
	make DESTDIR=$PKG install
}