From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libgit2: metadata.xml ChangeLog libgit2-0.13.0.ebuild |
Date: | Thu, 30 Jun 2011 21:02:55 |
Message-Id: | 20110630210239.F0E4F20054@flycatcher.gentoo.org |
1 | radhermit 11/06/30 21:02:39 |
2 | |
3 | Added: metadata.xml ChangeLog libgit2-0.13.0.ebuild |
4 | Log: |
5 | Initial import. |
6 | |
7 | (Portage version: 2.2.0_alpha41/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/libgit2/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>no-herd</herd> |
21 | <maintainer> |
22 | <email>radhermit@g.o</email> |
23 | <name>Tim Harder</name> |
24 | </maintainer> |
25 | <longdescription lang="en"> |
26 | libgit2 is a portable, pure C implementation of the Git core methods provided |
27 | as a re-entrant linkable library with a solid API, allowing you to write native |
28 | speed custom Git applications in any language which supports C bindings. |
29 | </longdescription> |
30 | </pkgmetadata> |
31 | |
32 | |
33 | |
34 | 1.1 dev-libs/libgit2/ChangeLog |
35 | |
36 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/ChangeLog?rev=1.1&view=markup |
37 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/ChangeLog?rev=1.1&content-type=text/plain |
38 | |
39 | Index: ChangeLog |
40 | =================================================================== |
41 | # ChangeLog for dev-libs/libgit2 |
42 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
43 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/libgit2/ChangeLog,v 1.1 2011/06/30 21:02:39 radhermit Exp $ |
44 | |
45 | *libgit2-0.13.0 (30 Jun 2011) |
46 | |
47 | 30 Jun 2011; Tim Harder <radhermit@g.o> +libgit2-0.13.0.ebuild, |
48 | +files/libgit2-0.13.0-system-zlib.patch, +metadata.xml: |
49 | Initial import. |
50 | |
51 | |
52 | |
53 | |
54 | 1.1 dev-libs/libgit2/libgit2-0.13.0.ebuild |
55 | |
56 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/libgit2-0.13.0.ebuild?rev=1.1&view=markup |
57 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/libgit2-0.13.0.ebuild?rev=1.1&content-type=text/plain |
58 | |
59 | Index: libgit2-0.13.0.ebuild |
60 | =================================================================== |
61 | # Copyright 1999-2011 Gentoo Foundation |
62 | # Distributed under the terms of the GNU General Public License v2 |
63 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/libgit2/libgit2-0.13.0.ebuild,v 1.1 2011/06/30 21:02:39 radhermit Exp $ |
64 | |
65 | EAPI=4 |
66 | |
67 | inherit cmake-utils multilib |
68 | |
69 | DESCRIPTION="A linkable library for Git" |
70 | HOMEPAGE="http://libgit2.github.com/" |
71 | SRC_URI="https://github.com/downloads/${PN}/${PN}/${P}.tar.gz" |
72 | |
73 | LICENSE="GPL-2-with-linking-exception" |
74 | SLOT="0" |
75 | KEYWORDS="~amd64 ~x86" |
76 | IUSE="examples test" |
77 | |
78 | RDEPEND="sys-libs/zlib" |
79 | DEPEND="${RDEPEND}" |
80 | |
81 | DOCS=( README.md ) |
82 | PATCHES=( "${FILESDIR}"/${P}-system-zlib.patch ) |
83 | |
84 | src_configure() { |
85 | local mycmakeargs=( |
86 | -DINSTALL_LIB=/usr/$(get_libdir) |
87 | $(cmake-utils_use_build test TESTS) |
88 | ) |
89 | cmake-utils_src_configure |
90 | } |
91 | |
92 | src_install() { |
93 | cmake-utils_src_install |
94 | |
95 | if use examples ; then |
96 | docinto examples |
97 | dodoc examples/* |
98 | fi |
99 | } |