diff options
Diffstat (limited to 'app-office/dia2code/dia2code-0.8.1.ebuild')
-rw-r--r-- | app-office/dia2code/dia2code-0.8.1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-office/dia2code/dia2code-0.8.1.ebuild b/app-office/dia2code/dia2code-0.8.1.ebuild new file mode 100644 index 000000000000..f61a87d55d94 --- /dev/null +++ b/app-office/dia2code/dia2code-0.8.1.ebuild @@ -0,0 +1,33 @@ +# 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.1 2002/06/20 21:32:45 stroke 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" +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 +} + |