summaryrefslogtreecommitdiff
blob: beaeeb9337e01cf574010508bb706a71afbe02a9 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/languagetool/languagetool-1.7.ebuild,v 1.2 2012/04/08 08:22:31 scarabeus Exp $

EAPI=4

MY_P="LanguageTool-${PV}"

OO_EXTENSIONS=(
	"${MY_P}.oxt"
)

inherit office-ext

DESCRIPTION="Style and Grammar Checker for libreoffice"
HOMEPAGE="http://www.languagetool.org/"
SRC_URI="http://www.languagetool.org/download/${MY_P}.oxt"

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

DEPEND=""
RDEPEND="${DEPEND}
	virtual/ooo[java]
"

S=${WORKDIR}

src_unpack() {
	cp -v "${DISTDIR}/${MY_P}.oxt" "${S}"
}

pkg_postinst() {
	office-ext_pkg_postinst
	einfo "Be warned that this extension is serious resource hog and thus"
	einfo "it might result in slower operations."
}