diff options
Diffstat (limited to 'libssh/Pkgfile')
-rwxr-xr-x | libssh/Pkgfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libssh/Pkgfile b/libssh/Pkgfile new file mode 100755 index 000000000..344737357 --- /dev/null +++ b/libssh/Pkgfile @@ -0,0 +1,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 +} + |