aboutsummaryrefslogtreecommitdiff
blob: 7a42d2068312a8c7524ce186fa6069b7c6a7e095 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit autotools

DESCRIPTION="The FreeSmartPhone.org GSM multiplexer"
HOMEPAGE="http://www.freesmartphone.org"
SRC_URI="http://www.freesmartphone.org/sources/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~x86 ~amd64"
IUSE=""

RDEPEND=">=dev-libs/glib-2.18.0
	>=dev-libs/libgee-0.1.6
	>=media-libs/alsa-lib-1.0.20
	>=sys-apps/dbus-1.2.1
	>=dev-libs/dbus-glib-0.76
	>=sys-mobilephone/libfso-glib-0.1.0
	sys-mobilephone/libfsoframework"
DEPEND="${RDEPEND}
	>=dev-lang/vala-0.7.3"

EAPI="2"

src_prepare() {
	epatch "${FILESDIR}"/fsousaged_main.patch
	eautoreconf
}

src_install() {
	emake DESTDIR="${D}" install || die "make install failed"
}

pkg_postinst() {
	elog "To use fsousaged instead of ousaged edit the config in"
	elog "/etc/frameworkd.conf , below the lines where [ousaged] appear make sure"
	elog "that \"disable 1\" appear. And anywhere add the lines :"
	elog "  [fsousage]"
	elog "  [fsousage.controller]"
	elog "With this the daemon will be used without any need of initscript."
}