blob: 3398c2aa2ba0bbe1d9ba6b3772235e5eb5000cf1 (
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
36
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/tedia2sql/tedia2sql-1.2.8.ebuild,v 1.6 2005/05/24 15:32:51 mcummings Exp $
inherit eutils
MY_PV=${PV//.}
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/2144/${PN}-${MY_PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"
DEPEND=">=dev-lang/perl-5.8
>=dev-perl/XML-DOM-1.43
>=perl-core/Digest-MD5-2.24"
S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PN}-gentoo.patch
}
src_install() {
insinto /etc
doins tedia2sqlrc
dobin tedia2sql
dodoc README
use doc && dohtml -A sql -A dia www/*
}
|