summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriele Giorgetti <stroke@gentoo.org>2002-06-20 21:32:45 +0000
committerGabriele Giorgetti <stroke@gentoo.org>2002-06-20 21:32:45 +0000
commit7dadc47c0b3d3540809473fa5eb5dc1e2b659f22 (patch)
treee0f25f3bc06082c57b7fef7c20447699fde97629 /app-office/dia2code/dia2code-0.8.1.ebuild
parentmasking xine-0.9.11 pending dfb fixes form seemant (diff)
downloadgentoo-2-7dadc47c0b3d3540809473fa5eb5dc1e2b659f22.tar.gz
gentoo-2-7dadc47c0b3d3540809473fa5eb5dc1e2b659f22.tar.bz2
gentoo-2-7dadc47c0b3d3540809473fa5eb5dc1e2b659f22.zip
New package: Convert UML diagrams produced with Dia to various source code flavours.
Diffstat (limited to 'app-office/dia2code/dia2code-0.8.1.ebuild')
-rw-r--r--app-office/dia2code/dia2code-0.8.1.ebuild33
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
+}
+