summaryrefslogtreecommitdiffstats
path: root/abs/extra/libssh/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <jams@linhes.org>2010-12-29 00:53:57 (GMT)
committerJames Meyer <jams@linhes.org>2010-12-29 00:53:57 (GMT)
commitbfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d (patch)
tree8641b9762f43e4ee1022643782d013d7bdc06143 /abs/extra/libssh/PKGBUILD
parent082e88179d8a355d5e67e62c5031d3d689ea3d5b (diff)
parenteb0b8a2e6a2b8c78266e2e641a468843deee61c3 (diff)
downloadlinhes_pkgbuild-bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d.zip
linhes_pkgbuild-bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d.tar.gz
linhes_pkgbuild-bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d.tar.bz2
Merge remote branch 'origin/testing' into testing
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
+}