blob: 90d013881f91fcf3789b9a3a130a9043c39a4700 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/wpd2sxw/wpd2sxw-0.6.0-r1.ebuild,v 1.2 2004/06/24 22:55:46 agriffis Exp $
DESCRIPTION="WordPerfect Document (wpd) to OpenOffice.org (sxw) converter"
HOMEPAGE="http://libwpd.sf.net"
SRC_URI="mirror://sourceforge/libwpd/${P}.tar.gz
perl? ( http://libwpd.sourceforge.net/wpd2sxwbatch.pl )"
RESTRICT="nomirror"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE="perl"
DEPEND="gnome-extra/libgsf
>=app-text/libwpd-0.7.1
perl? ( dev-lang/perl )"
src_unpack() {
unpack ${P}.tar.gz
cd ${S}
}
src_compile() {
econf || die "configure failed"
emake || die "make failed"
}
src_install() {
einstall || die "install failed"
dobin ${DISTDIR}/wpd2sxwbatch.pl
}
|