diff options
Diffstat (limited to 'extra/libssh/PKGBUILD')
-rw-r--r-- | extra/libssh/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/libssh/PKGBUILD b/extra/libssh/PKGBUILD new file mode 100644 index 000000000..4da9183cd --- /dev/null +++ b/extra/libssh/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 138141 2011-09-17 12:41:18Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: ice-man <icemanf@gmail.com> +# Contributor: sergeantspoon <sergeantspoon@archlinux.us> + +pkgname=libssh +pkgver=0.5.2 +pkgrel=1 +pkgdesc="Library for accessing ssh client services through C libraries" +url="http://www.libssh.org/" +license=('LGPL') +arch=('i686' 'x86_64' 'mips64el') +depends=('openssl') +makedepends=('cmake' 'doxygen') +source=("https://red.libssh.org/attachments/download/27/${pkgname}-${pkgver}.tar.gz") +md5sums=('38b67c48af7a9204660a3e08f97ceba6') + +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 +} |