mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 08:47:13 +08:00
33 lines
869 B
Bash
33 lines
869 B
Bash
#
|
|
# 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=2
|
|
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
|
|
}
|