| 1 | # Copyright 1999-2009 Gentoo Foundation |
|---|
| 2 | # Distributed under the terms of the GNU General Public License v2 |
|---|
| 3 | # $Header: $ |
|---|
| 4 | |
|---|
| 5 | inherit autotools base |
|---|
| 6 | |
|---|
| 7 | DESCRIPTION="Vala implementation of frameworkd the ousage daemon." |
|---|
| 8 | HOMEPAGE="http://www.freesmartphone.org" |
|---|
| 9 | SRC_URI="http://gnusrv.epfl.ch/~abelenda/fsousaged-0.9.0.tar.lzma |
|---|
| 10 | http://212.147.52.64/gentoo-distfiles/fsousaged-0.9.0.tar.lzma" |
|---|
| 11 | |
|---|
| 12 | LICENSE="GPL-2" |
|---|
| 13 | SLOT="0" |
|---|
| 14 | KEYWORDS="~arm ~amd64" |
|---|
| 15 | IUSE="" |
|---|
| 16 | |
|---|
| 17 | RDEPEND=" |
|---|
| 18 | >=dev-libs/libgee-0.1.6 |
|---|
| 19 | >=sys-mobilephone/libfso-glib-0.1.0 |
|---|
| 20 | >=sys-mobilephone/freesmartphone-frameworkd2-base-0.0 |
|---|
| 21 | " |
|---|
| 22 | |
|---|
| 23 | DEPEND="$RDEPEND" |
|---|
| 24 | |
|---|
| 25 | src_unpack() { |
|---|
| 26 | unpack ${A} |
|---|
| 27 | cd "${WORKDIR}" |
|---|
| 28 | # Caution! , this is only because I did my tarball by taking only |
|---|
| 29 | # the fsousaged folder in the repository |
|---|
| 30 | mv fsousaged ${P} |
|---|
| 31 | cd "${S}" |
|---|
| 32 | eautoreconf |
|---|
| 33 | } |
|---|
| 34 | |
|---|
| 35 | pkg_postinst(){ |
|---|
| 36 | elog "To use fsousaged instead of ousaged edit the config in" |
|---|
| 37 | elog "/etc/frameworkd.conf , below the lines where [ousaged] appear make sure" |
|---|
| 38 | elog "that \"disable 1\" appear. And anywhere add the lines :" |
|---|
| 39 | elog " [fsousage]" |
|---|
| 40 | elog " [fsousage.controller]" |
|---|
| 41 | elog "With this the daemon will be used without any need of initscript." |
|---|
| 42 | } |
|---|