core/libssh/PKGBUILD

33 lines
809 B
Bash
Raw Normal View History

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
pkgver=0.4.1
2011-07-24 10:06:03 +08:00
pkgrel=4
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')
makedepends=('cmake') #'doxygen'
2011-07-24 10:06:03 +08:00
source=(http://www.libssh.org/files/0.4/$pkgname-$pkgver.tar.gz)
2011-07-24 05:03:25 +08:00
md5sums=('258402bf1fabf664daeba4e5fc7a8d09')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release || return 1
make || return 1
}
package(){
cd ${srcdir}/build
make DESTDIR=${pkgdir} install || return 1
}