diff options
author | Cecil <knoppmyth@gmail.com> | 2010-12-28 03:48:07 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2010-12-28 03:48:07 (GMT) |
commit | 1d451012eab8135bc14fe0c50aa179c9b8a1bf79 (patch) | |
tree | 0341e580ead871fc415a25527e773dd916962e41 /abs/extra/libssh/PKGBUILD | |
parent | 58817c5472bdd618b205e67235a4876a97d59264 (diff) | |
download | linhes_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/PKGBUILD | 31 |
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 +} |