blob: 2a1a2881ea3b0de743c925b3ed1735319c8ae62d (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils
DESCRIPTION="Convert between any document format supported by OpenOffice"
HOMEPAGE="http://dag.wieers.com/home-made/unoconv/"
SRC_URI="http://dag.wieers.com/home-made/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-text/asciidoc
dev-python/setuptools"
RDEPEND="|| ( app-office/openoffice app-office/openoffice-bin
app-office/libreoffice app-office/libreoffice-bin )"
src_prepare() {
epatch "${FILESDIR}/${P}-openoffice-3.2-libreoffice.patch" \
"${FILESDIR}/${P}-longer-timeout.patch"
}
src_install() {
emake install DESTDIR="${D}" bindir='$(prefix)/share/unoconv' || die
newbin "${FILESDIR}"/unoconv-wrapper unoconv || die
}
|