Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/mgorny:master commit in: sys-devel/ccattr/
Date: Mon, 28 Nov 2011 22:19:15
Message-Id: 2a4cc2e02a291834cc3c8ea421ee49fbe8170526.mgorny@gentoo
1 commit: 2a4cc2e02a291834cc3c8ea421ee49fbe8170526
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 28 22:19:34 2011 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 28 22:19:34 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=2a4cc2e0
7
8 sys-devel/ccattr: Add an initial ebuild for ccattr, compiler attribute support macros.
9
10 (Portage version: 2.2.0_alpha78/git/Linux x86_64, unsigned Manifest commit)
11
12 ---
13 sys-devel/ccattr/ccattr-9999.ebuild | 44 +++++++++++++++++++++++++++++++++++
14 sys-devel/ccattr/metadata.xml | 15 ++++++++++++
15 2 files changed, 59 insertions(+), 0 deletions(-)
16
17 diff --git a/sys-devel/ccattr/ccattr-9999.ebuild b/sys-devel/ccattr/ccattr-9999.ebuild
18 new file mode 100644
19 index 0000000..36de742
20 --- /dev/null
21 +++ b/sys-devel/ccattr/ccattr-9999.ebuild
22 @@ -0,0 +1,44 @@
23 +# Copyright 1999-2011 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +# $Header: $
26 +
27 +EAPI=4
28 +inherit autotools-utils
29 +
30 +#if LIVE
31 +EGIT_REPO_URI="git://github.com/mgorny/${PN}.git
32 + http://github.com/mgorny/${PN}.git"
33 +inherit autotools git-2
34 +#endif
35 +
36 +DESCRIPTION="Macros for simple and portable use of CC extension attributes"
37 +HOMEPAGE="https://github.com/mgorny/ccattr/"
38 +SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2"
39 +
40 +LICENSE="BSD"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x86"
43 +IUSE="doc"
44 +
45 +DEPEND="doc? ( dev-util/gtk-doc )"
46 +
47 +#if LIVE
48 +DEPEND="${DEPEND}
49 + dev-util/gtk-doc-am"
50 +KEYWORDS=
51 +SRC_URI=
52 +
53 +src_prepare() {
54 + autotools-utils_src_prepare
55 + autotools_run_tool gtkdocize
56 + eautoreconf
57 +}
58 +#endif
59 +
60 +src_configure() {
61 + local myeconfargs=(
62 + $(use_enable doc gtk-doc)
63 + )
64 +
65 + autotools-utils_src_configure
66 +}
67
68 diff --git a/sys-devel/ccattr/metadata.xml b/sys-devel/ccattr/metadata.xml
69 new file mode 100644
70 index 0000000..2217c58
71 --- /dev/null
72 +++ b/sys-devel/ccattr/metadata.xml
73 @@ -0,0 +1,15 @@
74 +<?xml version="1.0" encoding="UTF-8"?>
75 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
76 +<pkgmetadata>
77 + <maintainer>
78 + <email>mgorny@g.o</email>
79 + <name>Michał Górny</name>
80 + </maintainer>
81 + <upstream>
82 + <maintainer status="active">
83 + <email>mgorny@g.o</email>
84 + <name>Michał Górny</name>
85 + </maintainer>
86 + <bugs-to>https://github.com/mgorny/ccattr/issues/</bugs-to>
87 + </upstream>
88 +</pkgmetadata>