mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 06:57:15 +08:00
33 lines
774 B
Bash
33 lines
774 B
Bash
#
|
|
# Platform packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=libssh2
|
|
pkgver=1.4.3
|
|
pkgrel=1
|
|
pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts"
|
|
url="http://www.libssh2.org/"
|
|
arch=('x86_64')
|
|
license=('BSD')
|
|
depends=('openssl')
|
|
makedepends=('zlib')
|
|
options=('!libtool')
|
|
source=("http://www.libssh2.org/download/$pkgname-$pkgver.tar.gz"{,.asc})
|
|
md5sums=('071004c60c5d6f90354ad1b701013a0b'
|
|
'bd01eca1e58c15233d69dae411dd2656')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
install -Dm644 COPYING \
|
|
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|