summaryrefslogtreecommitdiffstats
path: root/extra/libssh/Pkgfile
blob: cbfb6c6850c72395461e227bb370bfe78e8aa60b (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: thierryn1 at hispeed dot ch
# Depends on: cmake
# Run on:

name=libssh
version=0.4.1
release=1
source=(http://www.libssh.org/files/$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
}