Commit 2c35df31 authored by abveritas's avatar abveritas

adding libssh/2 to pf-testing from pf

parent cda4f01b
#
# Chakra 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>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libssh
pkgver=0.4.1
pkgrel=3
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=('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
}
#
# Platform 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>
pkgname=libssh2
pkgver=1.2.7
pkgrel=1
pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts"
url="http://www.libssh2.org/"
arch=('i686' 'x86_64')
license=('BSD')
depends=('openssl')
makedepends=('zlib')
options=('!libtool')
source=("http://www.libssh2.org/download/$pkgname-$pkgver.tar.gz")
md5sums=('a5d78344886f1282e4008c09bf568076')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr || return 1
make || return 1
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
install -Dm644 COPYING \
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment