You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
662 B

# Copyright 1999-2019 Gentoo Authors
# 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)
}