summaryrefslogtreecommitdiffstats
path: root/extra/libssh/Pkgfile
blob: c6dc04bbae6a0f7a9626ff5a82188352dd597332 (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.4.8
release=1
source=(http://www.libssh.org/files/0.4/$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
}