Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:gnome-next commit in: dev-libs/p11-kit/
Date: Tue, 26 Jul 2011 03:17:26
Message-Id: 0e9fae1b854fe61096e389df733914bcf2ac463a.tetromino@gentoo
1 commit: 0e9fae1b854fe61096e389df733914bcf2ac463a
2 Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
3 AuthorDate: Tue Jul 26 00:01:16 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Tue Jul 26 00:34:21 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=0e9fae1b
7
8 dev-libs/p11-kit: new package
9
10 Add Collabora's p11-kit (needed by gnome-keyring-3.1.4).
11
12 ---
13 dev-libs/p11-kit/p11-kit-0.2.ebuild | 52 ++++++++++++++++++++++++++++++++++
14 dev-libs/p11-kit/p11-kit-9999.ebuild | 52 ++++++++++++++++++++++++++++++++++
15 2 files changed, 104 insertions(+), 0 deletions(-)
16
17 diff --git a/dev-libs/p11-kit/p11-kit-0.2.ebuild b/dev-libs/p11-kit/p11-kit-0.2.ebuild
18 new file mode 100644
19 index 0000000..d02e70a
20 --- /dev/null
21 +++ b/dev-libs/p11-kit/p11-kit-0.2.ebuild
22 @@ -0,0 +1,52 @@
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 +
29 +if [[ ${PV} = 9999 ]]; then
30 + GCONF_DEBUG="no"
31 + inherit gnome2-live # to avoid duplicating hacks from gnome2-live_src_prepare
32 +fi
33 +
34 +DESCRIPTION="Library and proxy module for loading and sharing PKCS#11 modules"
35 +HOMEPAGE="http://p11-glue.freedesktop.org/p11-kit.html"
36 +if [[ ${PV} = 9999 ]]; then
37 + EGIT_REPO_URI="git://anongit.freedesktop.org/p11-glue/p11-kit"
38 +else
39 + SRC_URI="http://p11-glue.freedesktop.org/releases/${P}.tar.gz"
40 +fi
41 +
42 +LICENSE="BSD Apache-2.0"
43 +SLOT="0"
44 +if [[ ${PV} = 9999 ]]; then
45 + KEYWORDS=""
46 +else
47 + KEYWORDS="~amd64 ~x86"
48 +fi
49 +IUSE="doc"
50 +
51 +RDEPEND=""
52 +DEPEND="${RDEPEND}
53 + dev-util/pkgconfig
54 + sys-devel/gettext
55 + doc? (
56 + app-text/docbook-xml-dtd:4.1.2
57 + >=dev-util/gtk-doc-1.15
58 + )
59 +"
60 +
61 +DOCS=(AUTHORS ChangeLog NEWS) # README is empty
62 +
63 +src_configure() {
64 + econf \
65 + --disable-coverage \
66 + --disable-maintainer-mode \
67 + --with-pkcs11-dir="${EROOT}etc/pkcs11" \
68 + $(use_enable doc gtk-doc)
69 +}
70 +
71 +src_install() {
72 + default
73 + find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
74 +}
75
76 diff --git a/dev-libs/p11-kit/p11-kit-9999.ebuild b/dev-libs/p11-kit/p11-kit-9999.ebuild
77 new file mode 100644
78 index 0000000..d02e70a
79 --- /dev/null
80 +++ b/dev-libs/p11-kit/p11-kit-9999.ebuild
81 @@ -0,0 +1,52 @@
82 +# Copyright 1999-2011 Gentoo Foundation
83 +# Distributed under the terms of the GNU General Public License v2
84 +# $Header: $
85 +
86 +EAPI="4"
87 +
88 +if [[ ${PV} = 9999 ]]; then
89 + GCONF_DEBUG="no"
90 + inherit gnome2-live # to avoid duplicating hacks from gnome2-live_src_prepare
91 +fi
92 +
93 +DESCRIPTION="Library and proxy module for loading and sharing PKCS#11 modules"
94 +HOMEPAGE="http://p11-glue.freedesktop.org/p11-kit.html"
95 +if [[ ${PV} = 9999 ]]; then
96 + EGIT_REPO_URI="git://anongit.freedesktop.org/p11-glue/p11-kit"
97 +else
98 + SRC_URI="http://p11-glue.freedesktop.org/releases/${P}.tar.gz"
99 +fi
100 +
101 +LICENSE="BSD Apache-2.0"
102 +SLOT="0"
103 +if [[ ${PV} = 9999 ]]; then
104 + KEYWORDS=""
105 +else
106 + KEYWORDS="~amd64 ~x86"
107 +fi
108 +IUSE="doc"
109 +
110 +RDEPEND=""
111 +DEPEND="${RDEPEND}
112 + dev-util/pkgconfig
113 + sys-devel/gettext
114 + doc? (
115 + app-text/docbook-xml-dtd:4.1.2
116 + >=dev-util/gtk-doc-1.15
117 + )
118 +"
119 +
120 +DOCS=(AUTHORS ChangeLog NEWS) # README is empty
121 +
122 +src_configure() {
123 + econf \
124 + --disable-coverage \
125 + --disable-maintainer-mode \
126 + --with-pkcs11-dir="${EROOT}etc/pkcs11" \
127 + $(use_enable doc gtk-doc)
128 +}
129 +
130 +src_install() {
131 + default
132 + find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
133 +}