From: | "Piotr Jaroszynski (peper)" <peper@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-pda/libsyncml: ChangeLog libsyncml-9999.ebuild |
Date: | Mon, 26 Nov 2007 20:10:11 |
Message-Id: | E1IwkHJ-0000lg-9c@stork.gentoo.org |
1 | peper 07/11/26 20:10:01 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libsyncml-9999.ebuild |
5 | Log: |
6 | Add live svn ebuild. |
7 | (Portage version: 2.1.4_rc3) |
8 | |
9 | Revision Changes Path |
10 | 1.6 app-pda/libsyncml/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/ChangeLog?rev=1.6&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/ChangeLog?rev=1.6&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/ChangeLog?r1=1.5&r2=1.6 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-pda/libsyncml/ChangeLog,v |
19 | retrieving revision 1.5 |
20 | retrieving revision 1.6 |
21 | diff -u -r1.5 -r1.6 |
22 | --- ChangeLog 28 Mar 2007 20:13:43 -0000 1.5 |
23 | +++ ChangeLog 26 Nov 2007 20:10:00 -0000 1.6 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for app-pda/libsyncml |
26 | # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/ChangeLog,v 1.5 2007/03/28 20:13:43 peper Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/ChangeLog,v 1.6 2007/11/26 20:10:00 peper Exp $ |
29 | + |
30 | +*libsyncml-9999 (26 Nov 2007) |
31 | + |
32 | + 26 Nov 2007; Piotr JaroszyĆski <peper@g.o> +libsyncml-9999.ebuild: |
33 | + Add live svn ebuild. |
34 | |
35 | *libsyncml-0.4.4 (28 Mar 2007) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 app-pda/libsyncml/libsyncml-9999.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/libsyncml-9999.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/libsyncml-9999.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: libsyncml-9999.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2007 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/libsyncml-9999.ebuild,v 1.1 2007/11/26 20:10:00 peper Exp $ |
50 | |
51 | inherit eutils subversion autotools |
52 | |
53 | DESCRIPTION="Implementation of the SyncML protocol" |
54 | HOMEPAGE="http://libsyncml.opensync.org/" |
55 | SRC_URI="" |
56 | |
57 | ESVN_REPO_URI="http://svn.opensync.org/libsyncml/trunk" |
58 | |
59 | KEYWORDS="~amd64 ~x86" |
60 | SLOT="0" |
61 | LICENSE="LGPL-2.1" |
62 | IUSE="bluetooth debug doc http obex" |
63 | |
64 | RDEPEND=">=dev-libs/glib-2.0 |
65 | >=dev-libs/libwbxml-0.9.2 |
66 | dev-libs/libxml2 |
67 | http? ( >=net-libs/libsoup-2.2.91 ) |
68 | obex? ( >=dev-libs/openobex-1.1 ) |
69 | bluetooth? ( net-wireless/bluez-libs )" |
70 | DEPEND="${RDEPEND} |
71 | dev-util/pkgconfig |
72 | doc? ( app-doc/doxygen )" |
73 | |
74 | # Some of the tests are broken |
75 | RESTRICT="test" |
76 | |
77 | pkg_setup() { |
78 | if ! use obex && ! use http; then |
79 | eerror "${CATEGORY}/${P} without support for obex nor http is unusable." |
80 | eerror "Please enable \"obex\" or/and \"http\" USE flags." |
81 | die "Please enable \"obex\" or/and \"http\" USE flags." |
82 | fi |
83 | |
84 | if use bluetooth; then |
85 | if use obex && ! built_with_use dev-libs/openobex bluetooth; then |
86 | eerror "You are trying to build ${CATEGORY}/${P} with the \"bluetooth\"" |
87 | eerror "and \"obex\" USE flags, but dev-libs/openobex was built without" |
88 | eerror "the \"bluetooth\" USE flag." |
89 | eerror "Please rebuild dev-libs/openobex with \"bluetooth\" USE flag." |
90 | die "Please rebuild dev-libs/openobex with \"bluetooth\" USE flag." |
91 | elif ! use obex; then |
92 | eerror "You are trying to build ${CATEGORY}/${P} with the \"bluetooth\"" |
93 | eerror "USE flag, but you didn't enable the \"obex\" flag, which is" |
94 | eerror "needed for bluetooth support." |
95 | eerror "Please enable \"obex\" USE flag." |
96 | die "Please enable \"obex\" USE flag." |
97 | fi |
98 | fi |
99 | } |
100 | |
101 | src_compile() { |
102 | eautoreconf |
103 | |
104 | econf \ |
105 | $(use_enable bluetooth) \ |
106 | $(use_enable obex) \ |
107 | $(use_enable http) \ |
108 | $(use_enable debug) \ |
109 | $(use_enable debug tracing) \ |
110 | --disable-unit-tests \ |
111 | || die "econf failed" |
112 | #$(use_enable test unit-tests) \ |
113 | |
114 | emake || die "emake failed" |
115 | |
116 | use doc && doxygen Doxyfile |
117 | } |
118 | |
119 | src_install() { |
120 | emake DESTDIR="${D}" install || die "emake install failed" |
121 | dodoc AUTHORS ChangeLog README |
122 | |
123 | use doc && dohtml docs/html/* |
124 | } |
125 | |
126 | |
127 | |
128 | -- |
129 | gentoo-commits@g.o mailing list |