Gentoo Archives: gentoo-commits

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_rc9.ebuild
Date: Mon, 01 Oct 2007 18:18:50
Message-Id: E1IcPiJ-0001Kz-OP@stork.gentoo.org
1 mrness 07/10/01 18:09:51
2
3 Modified: ChangeLog
4 Added: obexftp-0.22_rc9.ebuild
5 Log:
6 Fix examples installation, broken by previous update.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.32 app-mobilephone/obexftp/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/ChangeLog?rev=1.32&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/ChangeLog?rev=1.32&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/ChangeLog?r1=1.31&r2=1.32
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v
19 retrieving revision 1.31
20 retrieving revision 1.32
21 diff -u -r1.31 -r1.32
22 --- ChangeLog 6 Sep 2007 06:23:28 -0000 1.31
23 +++ ChangeLog 1 Oct 2007 18:09:51 -0000 1.32
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-mobilephone/obexftp
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v 1.31 2007/09/06 06:23:28 mrness Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v 1.32 2007/10/01 18:09:51 mrness Exp $
29 +
30 +*obexftp-0.22_rc9 (01 Oct 2007)
31 +
32 + 01 Oct 2007; Alin Năstac <mrness@g.o> +obexftp-0.22_rc9.ebuild:
33 + Fix examples installation, broken by previous update.
34
35 06 Sep 2007; Alin Năstac <mrness@g.o> obexftp-0.22_rc7.ebuild:
36 Fix compile error when USE="ruby -bluetooth" (#174507).
37
38
39
40 1.1 app-mobilephone/obexftp/obexftp-0.22_rc9.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/obexftp-0.22_rc9.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexftp/obexftp-0.22_rc9.ebuild?rev=1.1&content-type=text/plain
44
45 Index: obexftp-0.22_rc9.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-mobilephone/obexftp/obexftp-0.22_rc9.ebuild,v 1.1 2007/10/01 18:09:51 mrness Exp $
50
51 inherit eutils perl-module flag-o-matic
52
53 DESCRIPTION="File transfer over OBEX for mobile phones"
54 HOMEPAGE="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp"
55 SRC_URI="http://triq.net/obexftp/${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-1.3
63 bluetooth? ( >=net-wireless/bluez-libs-2.25 )
64 perl? ( >=dev-lang/perl-5.8.8 )
65 python? ( >=dev-lang/python-2.4.4 )
66 ruby? ( >=dev-lang/ruby-1.8.5 )
67 tcl? ( >=dev-lang/tcl-8.4.14 )"
68 DEPEND="${RDEPEND}
69 swig? ( >=dev-lang/swig-1.3.31 )
70 dev-util/pkgconfig"
71
72 S="${WORKDIR}"/${P%_*}
73
74 src_compile() {
75 if use debug ; then
76 strip-flags
77 append-flags "-g -DOBEXFTP_DEBUG=5"
78 fi
79 if use ruby && ! use bluetooth ; then
80 sed -i -e "s/^\(.*bluetooth.*\)$/#\1/" swig/ruby/extconf.rb
81 fi
82
83 econf \
84 $(use_enable bluetooth) \
85 $(use_enable swig) \
86 $(use_enable perl) \
87 $(use_enable python) \
88 $(use_enable tcl) \
89 $(use_enable ruby) || die "econf failed"
90 emake || die "emake failed"
91 }
92
93 src_install() {
94 emake DESTDIR="${D}" install || die "emake install failed"
95
96 dodoc AUTHORS ChangeLog NEWS README* THANKS TODO
97 dohtml doc/*.html
98
99 # Install examples
100 insinto /usr/share/doc/${PF}/examples
101 doins examples/*.c
102 use perl && doins examples/*.pl
103 use python && doins examples/*.py
104 use ruby && doins examples/*.rb
105 use tcl && doins examples/*.tcl
106
107 use perl && fixlocalpod
108 }
109
110
111
112 --
113 gentoo-commits@g.o mailing list