summaryrefslogtreecommitdiff
path: root/dev-tcltk/mysqltcl
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk/mysqltcl')
-rw-r--r--dev-tcltk/mysqltcl/Manifest6
-rw-r--r--dev-tcltk/mysqltcl/files/mysqltcl-3.05-ldflags.patch16
-rw-r--r--dev-tcltk/mysqltcl/metadata.xml8
-rw-r--r--dev-tcltk/mysqltcl/mysqltcl-3.05.ebuild34
-rw-r--r--dev-tcltk/mysqltcl/mysqltcl-3.052.ebuild29
5 files changed, 93 insertions, 0 deletions
diff --git a/dev-tcltk/mysqltcl/Manifest b/dev-tcltk/mysqltcl/Manifest
new file mode 100644
index 000000000000..e363e1347984
--- /dev/null
+++ b/dev-tcltk/mysqltcl/Manifest
@@ -0,0 +1,6 @@
+AUX mysqltcl-3.05-ldflags.patch 448 BLAKE2B 7c0bb9294a96c870ffe4ecd0d3f401936695221fceee5a7a2b43aec8097a09849f8daf3e33e987a1492fb34f7c67a7aba5fe8ad3ef9bf2aabcc91c1f39f08315 SHA512 c253797952c5abe6633e9eb1394a1e5c2d6bd88f3c74f5f367a139b6de71fb22a645717c86d0d61a68b33a01240940e0347d184623ed1b889defea58c3c8ee79
+DIST mysqltcl-3.05.tar.gz 198755 BLAKE2B 56e9ce305167d4005138154111410ce46af1e57f72490cb83d854f12519cf1464ae6523bb0fb36b0884ce23e2d6611a044f70fc8e7c3522bc6648ebad539909c SHA512 14e0196b2fce08d97b085bcf25357a72797e9566578a6c0674a76e4402a704b43919b1ce8360d55719a6f2a36c6f68f3762dd23a9f737b7cf9f6537a00acb7ef
+DIST mysqltcl-3.052.tar.gz 187781 BLAKE2B 0fe9b145556de22364187de980d737cae99a5a18763b1e3b28e4aa849f7b0b30be543cfa956c37b15e756f75ec5804e92b8b452410d542c3c3390e52d88d0419 SHA512 f5af18ad9bbaedb1fdcdbaa326b5c4cc3f754b14ee9bdf9cbfa0e1a44227ec918426022aaa0f26a71fa1a3bce6b6d8d75f8612de7f540f287fd418088c91fddf
+EBUILD mysqltcl-3.05.ebuild 660 BLAKE2B 7efba23c541ba270f95129635fbba29fdbb4eebeabe522ceb64dffc9db88a34b9809e99f1db6ed6e65ea0d165b6d910dcbce4e2c5c835719090a794765036615 SHA512 ec478b9755395e113a8b7345a52414167230f06e28694e443b60df8062152e7bcb248dee197bc9b402c91c4be5ed38fda80410b9814eca1a4abc38d77d585fe0
+EBUILD mysqltcl-3.052.ebuild 656 BLAKE2B e6074209eba48baaf30f2edfcf6610694d7d9b17c8c3d046c242614d8e8db189d134ebc561505226f8b944f54f462e4ed86582c2a0d27e337ac1c7af981e8789 SHA512 c31bdba59fe5b316cf29c54cf34a801614fae431a1b5ac9a6f86690b91d8ed63be692e35dbc27bfb1a08b1f28c9f1a2fd99bb05aab2ca00303b1344d9334975f
+MISC metadata.xml 239 BLAKE2B c4d6706d083b72927d239f41a644a4009c054c1c1a388af7733d3a2daf47d354009eb472573304a6be272601f05535297bcd9ceaea811a741cd905577ffe53d1 SHA512 e6e2fafe2f503db1d12e3d2368a99631ee8d014b7ea802d9879e7e3e2c0f9378675fffccd78ed09b914ae781ac3902567b1a53a721906e3ea63ceb51d0a1654b
diff --git a/dev-tcltk/mysqltcl/files/mysqltcl-3.05-ldflags.patch b/dev-tcltk/mysqltcl/files/mysqltcl-3.05-ldflags.patch
new file mode 100644
index 000000000000..5aa440332153
--- /dev/null
+++ b/dev-tcltk/mysqltcl/files/mysqltcl-3.05-ldflags.patch
@@ -0,0 +1,16 @@
+ Makefile.in | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 0552d56..e32a0b4 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -107,7 +107,7 @@ OBJEXT = @OBJEXT@
+ RANLIB = @RANLIB@
+ RANLIB_STUB = @RANLIB_STUB@
+ SHLIB_CFLAGS = @SHLIB_CFLAGS@
+-SHLIB_LD = @SHLIB_LD@
++SHLIB_LD = @SHLIB_LD@ $(LDFLAGS)
+ SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ @MYSQL_LIBS@
+ STLIB_LD = @STLIB_LD@
+ #TCL_DEFS = @TCL_DEFS@
diff --git a/dev-tcltk/mysqltcl/metadata.xml b/dev-tcltk/mysqltcl/metadata.xml
new file mode 100644
index 000000000000..709689b06053
--- /dev/null
+++ b/dev-tcltk/mysqltcl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>mysql-bugs@gentoo.org</email>
+ <name>MySQL</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-tcltk/mysqltcl/mysqltcl-3.05.ebuild b/dev-tcltk/mysqltcl/mysqltcl-3.05.ebuild
new file mode 100644
index 000000000000..6de346fcd25d
--- /dev/null
+++ b/dev-tcltk/mysqltcl/mysqltcl-3.05.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils multilib
+
+DESCRIPTION="TCL MySQL Interface"
+HOMEPAGE="http://www.xdobry.de/mysqltcl/"
+SRC_URI="http://www.xdobry.de/mysqltcl/${P}.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE=""
+
+DEPEND="
+ dev-lang/tcl:0
+ >=virtual/mysql-4.1"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ldflags.patch
+ sed -i 's/-pipe//g;s/-O2//g;s/-fomit-frame-pointer//g' configure || die
+}
+
+src_configure() {
+ econf --with-mysql-lib=/usr/$(get_libdir)/mysql
+}
+
+src_install() {
+ default
+ dohtml doc/mysqltcl.html
+}
diff --git a/dev-tcltk/mysqltcl/mysqltcl-3.052.ebuild b/dev-tcltk/mysqltcl/mysqltcl-3.052.ebuild
new file mode 100644
index 000000000000..3dd15444e78b
--- /dev/null
+++ b/dev-tcltk/mysqltcl/mysqltcl-3.052.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="TCL MySQL Interface"
+HOMEPAGE="http://www.xdobry.de/mysqltcl/"
+SRC_URI="http://www.xdobry.de/mysqltcl/${P}.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="
+ dev-lang/tcl:0=
+ virtual/mysql:0="
+RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}"/${PN}-3.05-ldflags.patch )
+HTML_DOCS=( doc/mysqltcl.html )
+
+src_prepare() {
+ default_src_prepare
+ sed -i 's/-pipe//g;s/-O2//g;s/-fomit-frame-pointer//g' configure || die
+}
+
+src_configure() {
+ econf --with-mysql-lib=$(mysql_config --variable=pkglibdir)
+}