xbase-3.1.2.ebuild 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Copyright 1999-2013 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=4
  4. AUTOTOOLS_AUTORECONF=no
  5. inherit autotools-utils
  6. DESCRIPTION="xbase (i.e. dBase, FoxPro, etc.) compatible C++ class library"
  7. HOMEPAGE="http://linux.techass.com/projects/xdb/"
  8. SRC_URI="mirror://sourceforge/xdb/${PN}64-${PV}.tar.gz"
  9. SLOT="0"
  10. LICENSE="GPL-2"
  11. KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~x86-fbsd"
  12. IUSE="doc static-libs"
  13. S="${WORKDIR}"/${PN}64-${PV}
  14. PATCHES=(
  15. "${FILESDIR}"/${P}-fixconfig.patch
  16. "${FILESDIR}"/${P}-gcc44.patch
  17. "${FILESDIR}"/${PN}-2.0.0-ppc.patch
  18. "${FILESDIR}"/${P}-xbnode.patch
  19. "${FILESDIR}"/${P}-lesserg.patch
  20. "${FILESDIR}"/${P}-outofsource.patch
  21. "${FILESDIR}"/${P}-gcc47.patch
  22. "${FILESDIR}"/${P}-gcc-version.patch
  23. )
  24. src_install() {
  25. autotools-utils_src_install
  26. # media-tv/linuxtv-dvb-apps collision, bug #208596
  27. mv "${ED}/usr/bin/zap" "${ED}/usr/bin/${PN}-zap" || die
  28. if use doc; then
  29. dohtml html/*
  30. insinto /usr/share/doc/${PF}/examples
  31. doins examples/*
  32. fi
  33. }