From c2eb0341603b5fa5d539b85ec7a47d1b925a66a5 Mon Sep 17 00:00:00 2001 From: Thomas Penteker Date: Mon, 24 Dec 2012 01:16:01 +0100 Subject: [PATCH] libssh: new port --- libssh/.footprint | 19 +++++++++++++++++++ libssh/.md5sum | 1 + libssh/Pkgfile | 18 ++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 libssh/.footprint create mode 100644 libssh/.md5sum create mode 100644 libssh/Pkgfile diff --git a/libssh/.footprint b/libssh/.footprint new file mode 100644 index 000000000..2dba1bbe8 --- /dev/null +++ b/libssh/.footprint @@ -0,0 +1,19 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/libssh/ +-rw-r--r-- root/root usr/include/libssh/callbacks.h +-rw-r--r-- root/root usr/include/libssh/legacy.h +-rw-r--r-- root/root usr/include/libssh/libssh.h +-rw-r--r-- root/root usr/include/libssh/server.h +-rw-r--r-- root/root usr/include/libssh/sftp.h +-rw-r--r-- root/root usr/include/libssh/ssh2.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libssh.so -> libssh.so.4 +lrwxrwxrwx root/root usr/lib/libssh.so.4 -> libssh.so.4.2.3 +-rwxr-xr-x root/root usr/lib/libssh.so.4.2.3 +lrwxrwxrwx root/root usr/lib/libssh_threads.so -> libssh_threads.so.4 +lrwxrwxrwx root/root usr/lib/libssh_threads.so.4 -> libssh_threads.so.4.2.3 +-rwxr-xr-x root/root usr/lib/libssh_threads.so.4.2.3 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libssh.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libssh_threads.pc diff --git a/libssh/.md5sum b/libssh/.md5sum new file mode 100644 index 000000000..695637f4c --- /dev/null +++ b/libssh/.md5sum @@ -0,0 +1 @@ +9ad01838d3b89d98e900e0f6260a88cc libssh-0.5.3.tar.gz diff --git a/libssh/Pkgfile b/libssh/Pkgfile new file mode 100644 index 000000000..45991fba3 --- /dev/null +++ b/libssh/Pkgfile @@ -0,0 +1,18 @@ +# Description: ssh library +# URL: http://libssh.org +# Maintainer: Thomas Penteker, tek at serverop dot de +# Depends on: cmake + +name=libssh +version=0.5.3 +release=1 +source=(http://www.libssh.org/files/${version%.*}/libssh-$version.tar.gz) + +build() { + cd $name-$version + + mkdir -p build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release + make DESTDIR=$PKG install +}