From 3cd0d8dae251f96eb122f0a08c43651f3111a82f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 16 Jun 2013 21:03:48 +0200 Subject: [PATCH] New package: libssh-0.5.4. --- common/shlibs | 2 ++ srcpkgs/libnepomukcore | 1 - srcpkgs/libssh-devel | 1 + srcpkgs/libssh/template | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 41 insertions(+), 1 deletion(-) delete mode 120000 srcpkgs/libnepomukcore create mode 120000 srcpkgs/libssh-devel create mode 100644 srcpkgs/libssh/template diff --git a/common/shlibs b/common/shlibs index 07cb5d12acb..38bb79dd585 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1275,3 +1275,5 @@ libkio.so.5 kdelibs-4.10.4_1 libsolid.so.4 kdelibs-4.10.4_1 libkidletime.so.4 kdelibs-4.10.4_1 libnepomukcore.so.4 nepomuk-core-4.10.4_1 +libssh.so.4 libssh-0.5.4_1 +libssh_threads.so.4 libssh-0.5.4_1 diff --git a/srcpkgs/libnepomukcore b/srcpkgs/libnepomukcore deleted file mode 120000 index f75661209ed..00000000000 --- a/srcpkgs/libnepomukcore +++ /dev/null @@ -1 +0,0 @@ -nepomuk-core \ No newline at end of file diff --git a/srcpkgs/libssh-devel b/srcpkgs/libssh-devel new file mode 120000 index 00000000000..020295879ca --- /dev/null +++ b/srcpkgs/libssh-devel @@ -0,0 +1 @@ +libssh \ No newline at end of file diff --git a/srcpkgs/libssh/template b/srcpkgs/libssh/template new file mode 100644 index 00000000000..60bc4076093 --- /dev/null +++ b/srcpkgs/libssh/template @@ -0,0 +1,38 @@ +# Template file for 'libssh' +pkgname=libssh +version=0.5.4 +revision=1 +build_style=cmake +makedepends="zlib-devel openssl-devel" +short_desc="The SSH library" +maintainer="Juan RP " +license="BSD" +homepage="http://www.libssh.org/" +long_desc=" + libssh is a mulitplatform C library implementing the SSHv2 and SSHv1 protocol + on client and server side. With libssh, you can remotely execute programs, + transfer files, use a secure and transparent tunnel for your remote applications." + +nofetch=yes +noextract=yes + +do_fetch() { + git clone -b${pkgname}-${version} \ + git://git.libssh.org/projects/libssh.git ${pkgname}-${version} +} + +libssh-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + } +} + +libssh_package() { + pkg_install() { + vmove all + } +}