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 | d80208f693f2282a366240170c605e106ab7624f (patch) | |
tree | 4443e987af85bd1a47cbc2562e1bf91ef3a542e3 /app-office/tedia2sql | |
parent | new package submitted by Mathias Hasselmann (diff) | |
download | gentoo-2-d80208f693f2282a366240170c605e106ab7624f.tar.gz gentoo-2-d80208f693f2282a366240170c605e106ab7624f.tar.bz2 gentoo-2-d80208f693f2282a366240170c605e106ab7624f.zip |
new package submitted by Mathias Hasselmann
Diffstat (limited to 'app-office/tedia2sql')
-rw-r--r-- | app-office/tedia2sql/ChangeLog | 10 | ||||
-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 |
5 files changed, 68 insertions, 1 deletions
diff --git a/app-office/tedia2sql/ChangeLog b/app-office/tedia2sql/ChangeLog new file mode 100644 index 000000000000..a007d81dae74 --- /dev/null +++ b/app-office/tedia2sql/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-office/tedia2sql +# Copyright 2000-2004Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/tedia2sql/ChangeLog,v 1.1 2004/01/14 21:43:11 rphillips Exp $ + +*tedia2sql-1.2.8 (14 Jan 2004) + + 14 Jan 2004; <rphillips@gentoo.org> tedia2sql-1.2.8.ebuild, + files/tedia2sql-gentoo.patch: + New package submitted by Mathias Hasselmann + 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/* +} |