summaryrefslogtreecommitdiffstats
path: root/abs/extra/libssh/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2010-12-28 03:48:07 (GMT)
committerCecil <knoppmyth@gmail.com>2010-12-28 03:48:07 (GMT)
commit1d451012eab8135bc14fe0c50aa179c9b8a1bf79 (patch)
tree0341e580ead871fc415a25527e773dd916962e41 /abs/extra/libssh/PKGBUILD
parent58817c5472bdd618b205e67235a4876a97d59264 (diff)
downloadlinhes_pkgbuild-1d451012eab8135bc14fe0c50aa179c9b8a1bf79.zip
linhes_pkgbuild-1d451012eab8135bc14fe0c50aa179c9b8a1bf79.tar.gz
linhes_pkgbuild-1d451012eab8135bc14fe0c50aa179c9b8a1bf79.tar.bz2
libssh:initial inclusion. Dep of XBMC.
Diffstat (limited to 'abs/extra/libssh/PKGBUILD')
-rw-r--r--abs/extra/libssh/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/extra/libssh/PKGBUILD b/abs/extra/libssh/PKGBUILD
new file mode 100644
index 0000000..f70c291
--- /dev/null
+++ b/abs/extra/libssh/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: ice-man <icemanf@gmail.com>
+# Contributor: sergeantspoon <sergeantspoon@archlinux.us>
+
+pkgname=libssh
+pkgver=0.4.6
+pkgrel=2
+pkgdesc="Library for accessing ssh client services through C libraries"
+url="http://www.libssh.org/"
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('openssl')
+makedepends=('cmake' 'doxygen')
+source=("http://www.libssh.org/files/0.4/${pkgname}-${pkgver}.tar.gz")
+md5sums=('9efdc8911fdb150fb16500c2fbe4ef2e')
+
+build() {
+ cd ${srcdir}
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package(){
+ cd ${srcdir}/build
+ make DESTDIR=${pkgdir} install
+}