blob: f721049d60f71af6856303bcc1493294cfb67257 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit distutils
inherit git
DESCRIPTION="The FreeSmartPhone.org framework APIs."
HOMEPAGE="http://www.freesmartphone.org/"
EGIT_REPO_URI="git://git.freesmartphone.org/framework.git"
EGIT_TREE="tags/milestone5.1"
EGIT_PROJECT="framework"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~arm"
IUSE="gsm gps readline"
DOCS="README"
RDEPEND="dev-python/dbus-python
dev-python/gst-python
dev-python/pygobject
dev-python/pyyaml
dev-python/pyserial
dev-python/ctypes
virtual/alsa-scenarios
gsm? ( sys-mobilephone/gsm0710muxd )
gps? ( || ( sci-geosciences/fso-gpsd sci-geosciences/gpsd ) )
readline? ( sys-libs/readline )"
DEPEND="dev-python/cython
dev-python/setuptools"
src_unpack() {
# Fetch and unpack current git sources
git_src_unpack
cd "${S}"
# Change the paths for setup.py and add the example config file
epatch "${FILESDIR}/${P/0.5.1/0.5}-setup-paths.patch"
}
src_install() {
distutils_src_install
newinitd "${FILESDIR}/frameworkd" frameworkd
insinto /etc
doins conf/example/frameworkd.conf
}
pkg_postinst() {
einfo "An example configuration file was installed to /etc/frameworkd.conf,"
einfo "please modify this configuration file to your needs!"
}
|