summaryrefslogtreecommitdiff
path: root/libraries/libgit2
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2015-01-30 20:35:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-30 20:35:13 +0700
commit0ec35d7934a9fd73eff0e8742a6eb5700c09ec2f (patch)
tree2e858c16f8e41181b794d1a478248eec989843ea /libraries/libgit2
parente0f492811dfc6ecbda5a6c493d6b34a8993213b2 (diff)
downloadslackbuilds-0ec35d7934a9fd73eff0e8742a6eb5700c09ec2f.tar.gz
libraries/libgit2: Updated for version 0.21.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libgit2')
-rw-r--r--libraries/libgit2/README2
-rw-r--r--libraries/libgit2/libgit2.SlackBuild7
-rw-r--r--libraries/libgit2/libgit2.info6
3 files changed, 9 insertions, 6 deletions
diff --git a/libraries/libgit2/README b/libraries/libgit2/README
index dad04a2452..867ba5e590 100644
--- a/libraries/libgit2/README
+++ b/libraries/libgit2/README
@@ -2,4 +2,4 @@ libgit2 is a portable, pure C implementation of the Git core methods provided as
a re-entrant linkable library with a solid API, allowing you to write native
speed custom Git applications in any language which supports C bindings.
-Optional: libssh2 (for ssh transport)
+Optional: libssh2 (for ssh transport) and http-parser
diff --git a/libraries/libgit2/libgit2.SlackBuild b/libraries/libgit2/libgit2.SlackBuild
index b5082b3986..c6144f4b46 100644
--- a/libraries/libgit2/libgit2.SlackBuild
+++ b/libraries/libgit2/libgit2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libgit2
-# Copyright 2014 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2014-2015 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libgit2
-VERSION=${VERSION:-0.21.3}
+VERSION=${VERSION:-0.21.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix libgit2 version string.
+sed -i "/LIBGIT2_VERSION/s|\".*\"|\"${VERSION}\"|" include/git2/version.h
+
mkdir build
cd build
cmake -G "Unix Makefiles" \
diff --git a/libraries/libgit2/libgit2.info b/libraries/libgit2/libgit2.info
index 43cba5cac3..90e5b486cd 100644
--- a/libraries/libgit2/libgit2.info
+++ b/libraries/libgit2/libgit2.info
@@ -1,8 +1,8 @@
PRGNAM="libgit2"
-VERSION="0.21.3"
+VERSION="0.21.5"
HOMEPAGE="https://libgit2.github.com/"
-DOWNLOAD="https://github.com/libgit2/libgit2/archive/v0.21.3.tar.gz"
-MD5SUM="160762591f04c47b0a161e659c59c8c2"
+DOWNLOAD="https://github.com/libgit2/libgit2/archive/v0.21.5.tar.gz"
+MD5SUM="6f1d64b2d50239f0c518cb45fbe3da4a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""