summaryrefslogtreecommitdiff
blob: 7308e19779ca751590fb9d2dadbab8dcb71f0b3d (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-2012 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="x11-libs/qt-gui: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
}