summaryrefslogtreecommitdiff
blob: e3139bd22ac872acb824da7b2a346c118e76b47d (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/qvortaro/qvortaro-0.3.1.ebuild,v 1.4 2008/10/13 18:39:55 bangert Exp $

EAPI=1

inherit eutils qt3

DESCRIPTION="An Esperanto dictionary (currently only German)"
SRC_URI="mirror://berlios/qvortaro/qVortaro-${PV}.tar.bz2"
HOMEPAGE="http://qvortaro.berlios.de"

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

DEPEND="virtual/libc
	x11-libs/qt:3"

S=${WORKDIR}/qVortaro-${PV}

src_compile() {
	"${QTDIR}"/bin/qmake QMAKE="${QTDIR}"/bin/qmake || die "qmake failed"
	emake || die "emake failed"
}
src_install() {
	make INSTALL_ROOT="${D}" install
	doicon src/icon/${PN}.png
	make_desktop_entry qvortaro "qVortaro"
}
pkg_postinst() {
	elog "additional dictionaries at http://qvortaro.berlios.de/dictionaries.php"
}