mysqltcl-3.052.ebuild 656 B

123456789101112131415161718192021222324252627282930
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. DESCRIPTION="TCL MySQL Interface"
  5. HOMEPAGE="http://www.xdobry.de/mysqltcl/"
  6. SRC_URI="http://www.xdobry.de/mysqltcl/${P}.tar.gz"
  7. LICENSE="HPND"
  8. SLOT="0"
  9. KEYWORDS="~amd64 ~ppc ~sparc ~x86"
  10. IUSE=""
  11. DEPEND="
  12. dev-lang/tcl:0=
  13. virtual/mysql:0="
  14. RDEPEND="${DEPEND}"
  15. PATCHES=( "${FILESDIR}"/${PN}-3.05-ldflags.patch )
  16. HTML_DOCS=( doc/mysqltcl.html )
  17. src_prepare() {
  18. default_src_prepare
  19. sed -i 's/-pipe//g;s/-O2//g;s/-fomit-frame-pointer//g' configure || die
  20. }
  21. src_configure() {
  22. econf --with-mysql-lib=$(mysql_config --variable=pkglibdir)
  23. }