1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Convert between any document format supported by OpenOffice"
10 HOMEPAGE="http://dag.wieers.com/home-made/unoconv/"
11 SRC_URI="http://dag.wieers.com/home-made/${PN}/${P}.tar.bz2"
14 KEYWORDS="~amd64 ~x86"
17 DEPEND="app-text/asciidoc
18 dev-python/setuptools"
19 RDEPEND="|| ( app-office/openoffice app-office/openoffice-bin )"
22 epatch "${FILESDIR}/${P}-openoffice-3.2.patch" \
23 "${FILESDIR}/${P}-longer-timeout.patch"
27 emake install DESTDIR="${D}" bindir='$(prefix)/share/unoconv' || die
28 newbin "${FILESDIR}"/unoconv-wrapper unoconv || die