summaryrefslogtreecommitdiff
blob: 16eb6ec455e9fd88c8df802d3154da643b4c3c2e (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=0

DESCRIPTION="Convert database ERD designed in Dia into SQL DDL scripts"
HOMEPAGE="http://tedia2sql.tigris.org"
SRC_URI="http://tedia2sql.tigris.org/files/documents/282/19423/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc"

DEPEND=">=dev-lang/perl-5.8
	>=dev-perl/XML-DOM-1.43
	>=virtual/perl-Digest-MD5-2.36"

S=${WORKDIR}/${PN}

src_install() {
	insinto /etc
	doins tedia2sqlrc

	dobin tedia2sql
	dodoc README
	use doc && dohtml -A sql -A dia www/*
}