From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/librra: metadata.xml ChangeLog librra-0.14.ebuild |
Date: | Fri, 25 Feb 2011 21:37:35 |
Message-Id: | 20110225213722.A936320054@flycatcher.gentoo.org |
1 | ssuominen 11/02/25 21:37:22 |
2 | |
3 | Added: metadata.xml ChangeLog librra-0.14.ebuild |
4 | Log: |
5 | Initial commit. |
6 | |
7 | (Portage version: 2.2.0_alpha24/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/librra/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/librra/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/librra/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>pda</herd> |
21 | <maintainer> |
22 | <email>ssuominen@g.o</email> |
23 | <name>Samuli Suominen</name> |
24 | </maintainer> |
25 | <use> |
26 | <flag name="recurrence">Enable recurrence support (EXPERIMENTAL)</flag> |
27 | </use> |
28 | </pkgmetadata> |
29 | |
30 | |
31 | |
32 | 1.1 dev-libs/librra/ChangeLog |
33 | |
34 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/librra/ChangeLog?rev=1.1&view=markup |
35 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/librra/ChangeLog?rev=1.1&content-type=text/plain |
36 | |
37 | Index: ChangeLog |
38 | =================================================================== |
39 | # ChangeLog for dev-libs/librra |
40 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
41 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/librra/ChangeLog,v 1.1 2011/02/25 21:37:22 ssuominen Exp $ |
42 | |
43 | *librra-0.14 (25 Feb 2011) |
44 | |
45 | 25 Feb 2011; Samuli Suominen <ssuominen@g.o> +librra-0.14.ebuild: |
46 | Initial commit. |
47 | |
48 | |
49 | |
50 | |
51 | 1.1 dev-libs/librra/librra-0.14.ebuild |
52 | |
53 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/librra/librra-0.14.ebuild?rev=1.1&view=markup |
54 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/librra/librra-0.14.ebuild?rev=1.1&content-type=text/plain |
55 | |
56 | Index: librra-0.14.ebuild |
57 | =================================================================== |
58 | # Copyright 1999-2011 Gentoo Foundation |
59 | # Distributed under the terms of the GNU General Public License v2 |
60 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/librra/librra-0.14.ebuild,v 1.1 2011/02/25 21:37:22 ssuominen Exp $ |
61 | |
62 | EAPI=3 |
63 | |
64 | PYTHON_DEPEND="python? 2:2.6" |
65 | |
66 | inherit python |
67 | |
68 | DESCRIPTION="A library for SynCE" |
69 | HOMEPAGE="http://www.synce.org/" |
70 | SRC_URI="mirror://sourceforge/synce/${P}.tar.gz" |
71 | |
72 | LICENSE="MIT" |
73 | SLOT="0" |
74 | KEYWORDS="~amd64 ~x86" |
75 | IUSE="python recurrence static-libs" |
76 | |
77 | RDEPEND="dev-libs/libmimedir |
78 | >=dev-libs/librapi2-0.14 |
79 | >=dev-libs/libsynce-0.14 |
80 | python? ( >=dev-python/pyrex-0.9.6 )" |
81 | DEPEND="${RDEPEND} |
82 | dev-util/pkgconfig" |
83 | |
84 | pkg_setup() { |
85 | if use python; then |
86 | python_set_active_version 2 |
87 | python_pkg_setup |
88 | fi |
89 | } |
90 | |
91 | src_configure() { |
92 | econf \ |
93 | --disable-dependency-tracking \ |
94 | $(use_enable static-libs static) \ |
95 | $(use_enable recurrence) \ |
96 | $(use_enable python python-bindings) |
97 | } |
98 | |
99 | src_install() { |
100 | emake DESTDIR="${D}" install || die |
101 | |
102 | dodoc ChangeLog README TODO |
103 | newdoc lib/README README.lib |
104 | |
105 | find "${D}" -name '*.la' -exec rm -f {} + |
106 | } |