blob: 0a0000895e7d9fd392f1f5ae75e6ad64e4155665 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/libwmf-0.2.6.ebuild,v 1.6 2002/12/09 04:26:13 manson Exp $
#The configure script finds the 5.50 ghostscript Fontmap file while run.
#This will probably work, especially since the real one (6.50) in this case
#is empty. However beware in case there is any trouble
S=${WORKDIR}/${P}
DESCRIPTION="library for converting WMF files"
SRC_URI="mirror://sourceforge/wvware/${P}.tar.gz"
HOMEPAGE="http://www.wvware.com/libwmf.html"
SLOT="0"
KEYWORDS="x86 sparc ~ppc"
LICENSE="GPL-2"
DEPEND="virtual/glibc
>=sys-devel/gcc-2.95.2
>=app-text/ghostscript-6.50
dev-libs/expat
dev-libs/libxml2
>=media-libs/freetype-2.0.1
sys-libs/zlib
media-libs/libpng
media-libs/jpeg"
# plotutils are not really supported yet, so looks like that's it
src_compile() {
econf \
--with-gsfontdir=/usr/share/ghostscript/fonts \
--with-fontdir=/usr/share/libwmf/fonts/ \
--with-docdir=${D}/usr/share/doc/${PF} || die "./configure failed"
make || die
}
src_install () {
einstall \
fontdir=${D}/usr/share/libwmf/fonts || die
dodoc README AUTHORS COPYING CREDITS ChangeLog NEWS TODO
}
|