From: | "Alin Nastac (mrness)" <mrness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-mobilephone/obexftp: ChangeLog obexftp-0.22.ebuild |
Date: | Fri, 20 Jun 2008 23:44:06 |
Message-Id: | E1K9qGu-0008EE-CQ@stork.gentoo.org |
1 | mrness 08/06/20 23:44:00 |
2 | |
3 | Modified: ChangeLog |
4 | Added: obexftp-0.22.ebuild |
5 | Log: |
6 | Version bump. Fix src_install failure on SMP boxes (#225453). |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.35 app-mobilephone/obexftp/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/ChangeLog?rev=1.35&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/ChangeLog?rev=1.35&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/ChangeLog?r1=1.34&r2=1.35 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v |
19 | retrieving revision 1.34 |
20 | retrieving revision 1.35 |
21 | diff -u -r1.34 -r1.35 |
22 | --- ChangeLog 1 Jun 2008 10:33:52 -0000 1.34 |
23 | +++ ChangeLog 20 Jun 2008 23:43:59 -0000 1.35 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for app-mobilephone/obexftp |
26 | # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v 1.34 2008/06/01 10:33:52 mrness Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v 1.35 2008/06/20 23:43:59 mrness Exp $ |
29 | + |
30 | +*obexftp-0.22 (20 Jun 2008) |
31 | + |
32 | + 20 Jun 2008; Alin Năstac <mrness@g.o> +obexftp-0.22.ebuild: |
33 | + Version bump. Fix src_install failure on SMP boxes (#225453). |
34 | |
35 | 01 Jun 2008; Alin Năstac <mrness@g.o> obexftp-0.21.ebuild, |
36 | obexftp-0.22_rc9.ebuild: |
37 | |
38 | |
39 | |
40 | 1.1 app-mobilephone/obexftp/obexftp-0.22.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/obexftp-0.22.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/obexftp-0.22.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: obexftp-0.22.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2008 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.22.ebuild,v 1.1 2008/06/20 23:43:59 mrness Exp $ |
50 | |
51 | inherit eutils perl-module flag-o-matic python |
52 | |
53 | DESCRIPTION="File transfer over OBEX for mobile phones" |
54 | HOMEPAGE="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp" |
55 | SRC_URI="mirror://sourceforge/openobex/${P}.tar.bz2" |
56 | |
57 | SLOT="0" |
58 | LICENSE="GPL-2" |
59 | KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" |
60 | IUSE="bluetooth debug perl python ruby swig tcl" |
61 | |
62 | RDEPEND="dev-libs/openobex |
63 | bluetooth? ( net-wireless/bluez-libs ) |
64 | perl? ( dev-lang/perl ) |
65 | python? ( >=dev-lang/python-2.4.4 ) |
66 | ruby? ( dev-lang/ruby ) |
67 | tcl? ( dev-lang/tcl )" |
68 | DEPEND="${RDEPEND} |
69 | swig? ( dev-lang/swig ) |
70 | dev-util/pkgconfig" |
71 | |
72 | src_compile() { |
73 | # do not byte-compile python module |
74 | if use python; then |
75 | sed -i \ |
76 | -e 's/\(setup.py install\)/\1 --no-compile/' \ |
77 | swig/python/Makefile.in || die "sed failed" |
78 | fi |
79 | |
80 | if use debug ; then |
81 | strip-flags |
82 | append-flags "-g -DOBEXFTP_DEBUG=5" |
83 | fi |
84 | if use ruby && ! use bluetooth ; then |
85 | sed -i -e "s/^\(.*bluetooth.*\)$/#\1/" swig/ruby/extconf.rb |
86 | fi |
87 | |
88 | econf \ |
89 | $(use_enable bluetooth) \ |
90 | $(use_enable swig) \ |
91 | $(use_enable perl) \ |
92 | $(use_enable python) \ |
93 | $(use_enable tcl) \ |
94 | $(use_enable ruby) || die "econf failed" |
95 | emake || die "emake failed" |
96 | } |
97 | |
98 | src_install() { |
99 | emake -j1 DESTDIR="${D}" install || die "emake install failed" |
100 | |
101 | dodoc AUTHORS ChangeLog NEWS README* THANKS TODO |
102 | dohtml doc/*.html |
103 | |
104 | # Install examples |
105 | insinto /usr/share/doc/${PF}/examples |
106 | doins examples/*.c |
107 | use perl && doins examples/*.pl |
108 | use python && doins examples/*.py |
109 | use ruby && doins examples/*.rb |
110 | use tcl && doins examples/*.tcl |
111 | |
112 | use perl && fixlocalpod |
113 | } |
114 | |
115 | pkg_postrm() { |
116 | use perl && perl-module_pkg_postrm |
117 | use python && python_mod_cleanup |
118 | } |
119 | |
120 | pkg_postinst() { |
121 | use perl && perl-module_pkg_postinst |
122 | use python && { |
123 | python_version |
124 | python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN} |
125 | } |
126 | } |
127 | |
128 | |
129 | |
130 | -- |
131 | gentoo-commits@l.g.o mailing list |