summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office')
-rw-r--r--app-office/dia2code/Manifest1
-rw-r--r--app-office/dia2code/dia2code-1.0.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/app-office/dia2code/Manifest b/app-office/dia2code/Manifest
index 868d13bd0a5c..8298d0e69644 100644
--- a/app-office/dia2code/Manifest
+++ b/app-office/dia2code/Manifest
@@ -1 +1,2 @@
DIST dia2code-0.8.8.tar.gz 480548 SHA256 b7431a3f8a9f703397e4b849f304897a2c7150a378fe6069ae17cd2bfc1e6294 SHA512 15dfbad66fc7855f0ccc31cfd32488de13380653dcd72a7a47cfcec60727aea265373da3b829f2bb62c4aade5cb06b0cb884fa29b197545a5268b03c75e717a2 WHIRLPOOL 2cbdfaab1e733c4752ca7457a2763b539a1ed48eb351e6bd62264757fa862a11dc1f012a8d957cd05d3e199e88649b2b9c68cf8058e1da52ddc070053e35d6ba
+DIST dia2code-1.0.0.tar.gz 946967 SHA256 c7746379cd15267fc3f600af16f77490e28f3becd260b7440f53776239ad491d SHA512 6669352e624fddc94aaaa36a30263ad591494d473ca09e662a9de90902e4b4a7a7eb6d3de9b28cf162c63ebeea36f86b33822d510ac87ce97c5f196c761bac85 WHIRLPOOL 4ae059ee2e4fce0e08a45dcfce24b368a3945c87cbab587886567c1ed916689b3e6ee3c626825e1a4d27925cd8de3a29f0d1c68c9f4b0032729ea9b248cbf396
diff --git a/app-office/dia2code/dia2code-1.0.0.ebuild b/app-office/dia2code/dia2code-1.0.0.ebuild
new file mode 100644
index 000000000000..627ca3ef520d
--- /dev/null
+++ b/app-office/dia2code/dia2code-1.0.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2
+
+DESCRIPTION="Convert UML diagrams produced with Dia to various source code flavours"
+HOMEPAGE="http://dia2code.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="test"
+
+RDEPEND="${DEPEND}"
+DEPEND="
+ dev-libs/libxml2
+ test? ( app-shells/bash )
+"
+
+src_prepare() {
+ # Script makes use of arrays
+ sed -e 's:/bin/sh:/bin/bash:' \
+ -i tests/tests.sh || die
+ gnome2_src_prepare
+}
+
+src_install() {
+ gnome2_src_install
+ doman docs/dia2code.1
+}