summaryrefslogtreecommitdiff
path: root/extra/libssh2
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-26 11:13:51 -0500
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-26 11:13:51 -0500
commitb18caf89fb235f174419d578a7da0237e456ef3d (patch)
tree9a9f7e391135f5ce2b05b3956ced1a00bd664bbb /extra/libssh2
parenta084559f421a288dd77f81e458161f95ae8d1be9 (diff)
parent6e35be4b44d90f92ddceb8b067cbbf03fc652a35 (diff)
Merge branch 'master' of vparabola:~/abslibre-pre-mips64el
Diffstat (limited to 'extra/libssh2')
-rw-r--r--extra/libssh2/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/libssh2/PKGBUILD b/extra/libssh2/PKGBUILD
new file mode 100644
index 000000000..ddf30e72c
--- /dev/null
+++ b/extra/libssh2/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 124297 2011-05-19 05:00:38Z angvp $
+# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: ice-man <icemanf@gmail.com>
+
+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
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}