1 |
dev-zero 09/02/28 00:02:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: obexftp-0.23.ebuild |
5 |
Log: |
6 |
Version bump, works perfectly with bluez-4.31. |
7 |
(Portage version: 2.1.6.7/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.45 app-mobilephone/obexftp/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/ChangeLog?rev=1.45&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/ChangeLog?rev=1.45&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/ChangeLog?r1=1.44&r2=1.45 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v |
19 |
retrieving revision 1.44 |
20 |
retrieving revision 1.45 |
21 |
diff -u -r1.44 -r1.45 |
22 |
--- ChangeLog 11 Dec 2008 20:25:53 -0000 1.44 |
23 |
+++ ChangeLog 28 Feb 2009 00:02:28 -0000 1.45 |
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.44 2008/12/11 20:25:53 mrness Exp $ |
28 |
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v 1.45 2009/02/28 00:02:28 dev-zero Exp $ |
30 |
+ |
31 |
+*obexftp-0.23 (28 Feb 2009) |
32 |
+ |
33 |
+ 28 Feb 2009; Tiziano Müller <dev-zero@g.o> +obexftp-0.23.ebuild: |
34 |
+ Version bump, works perfectly with bluez-4.31. |
35 |
|
36 |
11 Dec 2008; Alin Năstac <mrness@g.o> |
37 |
+files/obexftp-0.22-bluetooth.patch, -obexftp-0.22_rc9.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-mobilephone/obexftp/obexftp-0.23.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/obexftp-0.23.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/obexftp-0.23.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: obexftp-0.23.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.23.ebuild,v 1.1 2009/02/28 00:02:28 dev-zero Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils perl-module flag-o-matic python |
55 |
|
56 |
DESCRIPTION="File transfer over OBEX for mobile phones" |
57 |
HOMEPAGE="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp" |
58 |
SRC_URI="mirror://sourceforge/openobex/${P}.tar.bz2" |
59 |
SLOT="0" |
60 |
LICENSE="GPL-2" |
61 |
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" |
62 |
IUSE="bluetooth debug perl python ruby swig tcl" |
63 |
|
64 |
RDEPEND="dev-libs/openobex |
65 |
bluetooth? ( net-wireless/bluez ) |
66 |
perl? ( dev-lang/perl ) |
67 |
python? ( >=dev-lang/python-2.4.4 ) |
68 |
ruby? ( dev-lang/ruby ) |
69 |
tcl? ( dev-lang/tcl )" |
70 |
DEPEND="${RDEPEND} |
71 |
swig? ( dev-lang/swig ) |
72 |
dev-util/pkgconfig" |
73 |
|
74 |
src_prepare() { |
75 |
epatch "${FILESDIR}/${PN}-0.22-ruby-libpath.patch" |
76 |
} |
77 |
|
78 |
src_configure() { |
79 |
# do not byte-compile python module |
80 |
if use python; then |
81 |
sed -i \ |
82 |
-e 's/\(setup.py install\)/\1 --no-compile/' \ |
83 |
swig/python/Makefile.in || die "sed failed" |
84 |
fi |
85 |
|
86 |
if use debug ; then |
87 |
strip-flags |
88 |
append-flags "-g -DOBEXFTP_DEBUG=5" |
89 |
fi |
90 |
|
91 |
econf \ |
92 |
$(use_enable bluetooth) \ |
93 |
$(use_enable swig) \ |
94 |
$(use_enable perl) \ |
95 |
$(use_enable python) \ |
96 |
$(use_enable tcl) \ |
97 |
$(use_enable ruby) || die "econf failed" |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
# -j1 because "make -fMakefile.ruby install" fails |
102 |
# upstream added -j1 to that command so it should be removed |
103 |
# from here in the next version bump |
104 |
emake -j1 DESTDIR="${D}" install || die "emake install failed" |
105 |
|
106 |
dodoc AUTHORS ChangeLog NEWS README* THANKS TODO |
107 |
dohtml doc/*.html |
108 |
|
109 |
# Install examples |
110 |
insinto /usr/share/doc/${PF}/examples |
111 |
doins examples/*.c |
112 |
use perl && doins examples/*.pl |
113 |
use python && doins examples/*.py |
114 |
use ruby && doins examples/*.rb |
115 |
use tcl && doins examples/*.tcl |
116 |
|
117 |
use perl && fixlocalpod |
118 |
} |
119 |
|
120 |
pkg_postrm() { |
121 |
use perl && perl-module_pkg_postrm |
122 |
use python && python_mod_cleanup |
123 |
} |
124 |
|
125 |
pkg_postinst() { |
126 |
use perl && perl-module_pkg_postinst |
127 |
use python && { |
128 |
python_version |
129 |
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN} |
130 |
} |
131 |
} |