summaryrefslogtreecommitdiff
blob: f2241f658ba8e384531bd8e2005d3f0ee0d0a67d (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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="2"

inherit qt4-r2

DESCRIPTION="A QT-based Bulgarian <=> English dictionary"
HOMEPAGE="http://bgoffice.sourceforge.net/"
SRC_URI="mirror://sourceforge/bgoffice/BG%20Office%20Assistant/2.0/${P}.tar.gz"

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

DEPEND=">=x11-libs/qt-core-4.6.3
	>=x11-libs/qt-gui-4.6.3
	>=app-dicts/bgoffice-dictfiles-1.0"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${P}/src"

src_prepare() {
	cd "${S}"

        qt4-r2_src_prepare
	epatch "${FILESDIR}/${P}-fix-paths.patch"
}

src_configure() {
	eqmake4 -config release || die 'eqmake -config failed'
}

src_install() {
	qt4-r2_src_install
}