blob: a6b960e4cd6efe9df61d9d8389a37a3cdce7ab8a (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/app-office/dia2code/dia2code-0.8.1.ebuild,v 1.2 2002/07/25 19:29:33 aliz Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Convert UML diagrams produced with Dia to various source code
flavours."
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://dia2code.sourceforge.net"
KEYWORDS="x86"
LICENSE="GPL-2"
SLOT="0"
LICENCE="GPL-2"
DEPEND="virtual/glibc
dev-libs/libxml2"
RDEPEND="${DEPEND}
>=app-office/dia-0.90.0"
src_compile () {
# libxml2 header fix
CFLAGS="${CFLAGS} -I/usr/include/libxml2/libxml"
./configure --prefix=/usr \
--host="${CHOST}"
emake || die
}
src_install () {
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog README TODO
doman dia2code.1
}
|