blob: 0c7a965e8144a2b21ef3b33589ab90d51fedc48b (
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
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/wv/wv-0.7.1.ebuild,v 1.8 2002/10/04 20:51:14 vapier Exp $
S=${WORKDIR}/${P}
DESCRIPTION="tool for convertion of MSWord doc and rtf files to something readable"
SRC_URI="mirror://sourceforge/wvware/wv-0.7.1.tar.gz"
HOMEPAGE="http://www.wvware.com"
KEYWORDS="x86 sparc sparc64"
SLOT="0"
LICENSE="GPL-2"
DEPEND="virtual/glibc
>=sys-devel/gcc-2.95.2
>=media-libs/libwmf-0.2.2
>=media-libs/freetype-2.0.1
sys-libs/zlib
media-libs/libpng"
RDEPEND="media-gfx/imagemagick"
rc_unpack() {
unpack ${A}
cd ${S}
patch -p1 < ${FILESDIR}/wv-0.7.1-rvt.patch
}
src_compile() {
unset CXXFLAGS
unset CFLAGS
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-docdir=/usr/share/doc/${PF} || die "./configure failed"
emake || die
}
src_install () {
make \
prefix=${D}/usr \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
install || die
}
|