diff options
Diffstat (limited to 'dev-tcltk/mysqltcl/mysqltcl-3.052-r1.ebuild')
-rw-r--r-- | dev-tcltk/mysqltcl/mysqltcl-3.052-r1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-tcltk/mysqltcl/mysqltcl-3.052-r1.ebuild b/dev-tcltk/mysqltcl/mysqltcl-3.052-r1.ebuild new file mode 100644 index 000000000000..a09901f5bb78 --- /dev/null +++ b/dev-tcltk/mysqltcl/mysqltcl-3.052-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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= + dev-db/mysql-connector-c: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) +} |