summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-04-21 06:22:09 +0000
committerTim Harder <radhermit@gentoo.org>2013-04-21 06:22:09 +0000
commitec77576a21dc3f54a696300111de0b1658b9832f (patch)
tree4edd717a7a09b35a8e86542bb466b3d5d442016c /dev-libs/libgit2
parentVersion bump. (diff)
downloadgentoo-2-ec77576a21dc3f54a696300111de0b1658b9832f.tar.gz
gentoo-2-ec77576a21dc3f54a696300111de0b1658b9832f.tar.bz2
gentoo-2-ec77576a21dc3f54a696300111de0b1658b9832f.zip
Version bump.
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-libs/libgit2')
-rw-r--r--dev-libs/libgit2/ChangeLog9
-rw-r--r--dev-libs/libgit2/libgit2-0.18.0.ebuild39
2 files changed, 46 insertions, 2 deletions
diff --git a/dev-libs/libgit2/ChangeLog b/dev-libs/libgit2/ChangeLog
index b0f1e641afcd..d617ae4c157b 100644
--- a/dev-libs/libgit2/ChangeLog
+++ b/dev-libs/libgit2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libgit2
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgit2/ChangeLog,v 1.12 2012/05/23 00:51:14 radhermit Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgit2/ChangeLog,v 1.13 2013/04/21 06:22:09 radhermit Exp $
+
+*libgit2-0.18.0 (21 Apr 2013)
+
+ 21 Apr 2013; Tim Harder <radhermit@gentoo.org> +libgit2-0.18.0.ebuild:
+ Version bump.
23 May 2012; Tim Harder <radhermit@gentoo.org> -libgit2-0.15.0.ebuild:
Remove old.
diff --git a/dev-libs/libgit2/libgit2-0.18.0.ebuild b/dev-libs/libgit2/libgit2-0.18.0.ebuild
new file mode 100644
index 000000000000..825d3edfc664
--- /dev/null
+++ b/dev-libs/libgit2/libgit2-0.18.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgit2/libgit2-0.18.0.ebuild,v 1.1 2013/04/21 06:22:09 radhermit Exp $
+
+EAPI=5
+
+inherit cmake-utils multilib
+
+DESCRIPTION="A linkable library for Git"
+HOMEPAGE="http://libgit2.github.com/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc-macos"
+IUSE="examples test"
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md )
+
+src_configure() {
+ local mycmakeargs=(
+ -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
+ $(cmake-utils_use_build test CLAR)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use examples ; then
+ find examples -name .gitignore -delete
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}