diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2004-01-14 21:43:19 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2004-01-14 21:43:19 +0000 |
commit | 2b16b3917fdf3ce439040450269b350d8c70f50b (patch) | |
tree | 93135e0f0fd8a43a29fae0f85bda741a6fbadffe /app-office/tedia2sql | |
parent | new package submitted by Mathias Hasselmann (diff) | |
download | historical-2b16b3917fdf3ce439040450269b350d8c70f50b.tar.gz historical-2b16b3917fdf3ce439040450269b350d8c70f50b.tar.bz2 historical-2b16b3917fdf3ce439040450269b350d8c70f50b.zip |
new package submitted by Mathias Hasselmann
Diffstat (limited to 'app-office/tedia2sql')
-rw-r--r-- | app-office/tedia2sql/Manifest | 4 | ||||
-rw-r--r-- | app-office/tedia2sql/files/digest-tedia2sql-1.2.8 | 1 | ||||
-rw-r--r-- | app-office/tedia2sql/files/tedia2sql-gentoo.patch | 17 | ||||
-rw-r--r-- | app-office/tedia2sql/tedia2sql-1.2.8.ebuild | 37 |
4 files changed, 58 insertions, 1 deletions
diff --git a/app-office/tedia2sql/Manifest b/app-office/tedia2sql/Manifest index 23700df82968..8708532d0efb 100644 --- a/app-office/tedia2sql/Manifest +++ b/app-office/tedia2sql/Manifest @@ -1,2 +1,4 @@ -MD5 f264cdd73d462e06e610b3cb1c526bc8 tedia2sql-1.2.8.ebuild 745 +MD5 e6983d349aae41ea499cd080ea76e4b0 tedia2sql-1.2.8.ebuild 847 +MD5 c0e6e9be69afebbed8136ae1988cc742 ChangeLog 397 +MD5 b4240fe6e788b7ed6a160bc21f254664 files/tedia2sql-gentoo.patch 664 MD5 b7216ba0bec6c1dedf761cd7e98d8bfb files/digest-tedia2sql-1.2.8 64 diff --git a/app-office/tedia2sql/files/digest-tedia2sql-1.2.8 b/app-office/tedia2sql/files/digest-tedia2sql-1.2.8 new file mode 100644 index 000000000000..d37867bd3d3b --- /dev/null +++ b/app-office/tedia2sql/files/digest-tedia2sql-1.2.8 @@ -0,0 +1 @@ +MD5 e2de770f180b5f5faf34ecc8ff9a1c25 tedia2sql-128.tar.gz 48474 diff --git a/app-office/tedia2sql/files/tedia2sql-gentoo.patch b/app-office/tedia2sql/files/tedia2sql-gentoo.patch new file mode 100644 index 000000000000..ef840a45ee6e --- /dev/null +++ b/app-office/tedia2sql/files/tedia2sql-gentoo.patch @@ -0,0 +1,17 @@ +--- tedia2sql.orig 2003-11-12 00:42:55.000000000 +0100 ++++ tedia2sql 2003-11-12 01:00:52.000000000 +0100 +@@ -1761,8 +1761,12 @@ + if (open (RCFILE, "< $rcFileName")) { + # all is cool + } elsif ($rcFileName =~ /.*?\/(\w+)$/) { +- my $tryThisFile = $ENV{HOME} . "/.$1"; +- open (RCFILE, "< $tryThisFile") || die "Can't open $rcFileName or $tryThisFile"; ++ my $systemFile = "/etc/$1"; ++ my $privateFile = "$ENV{HOME}/.$1"; ++ ++ open (RCFILE, "< $systemFile") || ++ open (RCFILE, "< $privateFile") || ++ die "Can't open $rcFileName or $systemFile or $privateFile"; + } else { + die "Can't open $rcFileName and can't determine what the rcfile should be..."; + } diff --git a/app-office/tedia2sql/tedia2sql-1.2.8.ebuild b/app-office/tedia2sql/tedia2sql-1.2.8.ebuild new file mode 100644 index 000000000000..84925ee53029 --- /dev/null +++ b/app-office/tedia2sql/tedia2sql-1.2.8.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# 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.1 2004/01/14 21:43:11 rphillips Exp $ + +mypv=$(echo ${PV} | sed s/\\.//g) + +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}-${mypv}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="doc" + +DEPEND=">=dev-lang/perl-5.8 + >=dev-perl/XML-DOM-1.43 + >=dev-perl/Digest-MD5-2.24" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${PN}-gentoo.patch || die +} + +src_install() { + insinto /etc + doins tedia2sqlrc + + dobin tedia2sql + dodoc LICENSE README + use doc && dohtml -A sql -A dia www/* +} |