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

EAPI="2"

inherit qt4-r2

MY_P="FreeGo${PV}"

DESCRIPTION="Tool for users of Free, a French ISP, to manage their accounts"
HOMEPAGE="http://www.free-go.net/"
SRC_URI="http://www.freego.fr/logiciel/linux/sources/${MY_P}-src.zip"

LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"

RDEPEND="dev-qt/qtgui:4"
DEPEND="${RDEPEND}
	app-arch/unzip"

S=${WORKDIR}/${MY_P}

src_prepare() {
	sed -i -e '/PREFIX\t=.*/d' ${MY_P}.pro || die
}

src_configure() {
	eqmake4 PREFIX=/usr
}

src_install() {
	qt4-r2_src_install

	dobin FreeGo || die
	if use doc; then
		dodoc *.pdf || die
	fi
}