2011-07-24 10:06:03 +08:00
|
|
|
#
|
|
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
2011-07-24 05:03:25 +08:00
|
|
|
|
|
|
|
pkgname=libssh
|
2011-09-18 23:34:26 +08:00
|
|
|
pkgver=0.5.2
|
|
|
|
pkgrel=1
|
2011-07-24 05:03:25 +08:00
|
|
|
pkgdesc="Library for accessing ssh client services through C libraries"
|
|
|
|
url="http://www.libssh.org/"
|
|
|
|
license=('LGPL')
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
depends=('openssl')
|
2011-09-18 23:34:26 +08:00
|
|
|
makedepends=('cmake' 'doxygen')
|
|
|
|
source=("https://red.libssh.org/attachments/download/27/${pkgname}-${pkgver}.tar.gz")
|
|
|
|
md5sums=('38b67c48af7a9204660a3e08f97ceba6')
|
2011-07-24 05:03:25 +08:00
|
|
|
|
|
|
|
build() {
|
2011-09-18 23:34:26 +08:00
|
|
|
cd "${srcdir}"
|
2011-07-24 05:03:25 +08:00
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2011-09-18 23:34:26 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
make
|
2011-07-24 05:03:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package(){
|
2011-09-18 23:34:26 +08:00
|
|
|
cd "${srcdir}"/build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-07-24 05:03:25 +08:00
|
|
|
}
|