summaryrefslogtreecommitdiffstats
path: root/extra/libssh/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libssh/Pkgfile')
-rwxr-xr-xextra/libssh/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/libssh/Pkgfile b/extra/libssh/Pkgfile
new file mode 100755
index 000000000..e6f65fd0e
--- /dev/null
+++ b/extra/libssh/Pkgfile
@@ -0,0 +1,21 @@
+# 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
+
+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
+}