blob: e2793f68b19d54c3af2619a015a6683bf41be475 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-connector/synce-connector-0.15.2.ebuild,v 1.3 2011/07/08 09:07:50 ssuominen Exp $
EAPI=3
PYTHON_DEPEND="2:2.6"
inherit python
DESCRIPTION="A connection framework for SynCE"
HOMEPAGE="http://www.synce.org/"
SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# configure.ac, AC_PATH_PROG:
# net-tools -> ifconfig
# ppp -> pppd
COMMON_DEPEND=">=dev-libs/dbus-glib-0.88
>=dev-libs/glib-2.7
>=dev-libs/libsynce-0.15.1[dbus]
>=net-libs/gnet-2
|| ( >=sys-fs/udev-171-r1[gudev] <sys-fs/udev-171-r1[extras] )"
RDEPEND="${COMMON_DEPEND}
dev-python/python-gudev"
DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
# configure.ac, AC_PATH_PROG:
sed -i -e 's:dhclient:true:' configure || die
python_convert_shebangs -r 2 .
}
src_configure() {
econf \
--disable-dependency-tracking \
--enable-udev \
--enable-bluetooth-support
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog README TODO
}
|