# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-db/xbase/xbase-3.1.2.ebuild,v 1.2 2012/07/29 18:19:41 armin76 Exp ${PN}/${PN}-2.0.0-r1.ebuild,v 1.6 2012/06/29 14:42:09 jer Exp $ EAPI=4 AUTOTOOLS_AUTORECONF=no inherit autotools-utils DESCRIPTION="xbase (i.e. dBase, FoxPro, etc.) compatible C++ class library" HOMEPAGE="http://linux.techass.com/projects/xdb/" SRC_URI="mirror://sourceforge/xdb/${PN}64-${PV}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd" IUSE="doc static-libs" RDEPEND="" DEPEND="${DEPEND} sys-devel/automake sys-devel/libtool" S="${WORKDIR}"/${PN}64-${PV} PATCHES=( "${FILESDIR}"/${P}-fixconfig.patch "${FILESDIR}"/${P}-gcc44.patch "${FILESDIR}"/${PN}-2.0.0-ppc.patch "${FILESDIR}"/${P}-xbnode.patch "${FILESDIR}"/${P}-lesserg.patch "${FILESDIR}"/${P}-outofsource.patch "${FILESDIR}"/${P}-gcc47.patch "${FILESDIR}"/${P}-gcc-version.patch ) src_install() { autotools-utils_src_install # media-tv/linuxtv-dvb-apps collision, bug #208596 mv "${ED}/usr/bin/zap" "${ED}/usr/bin/${PN}-zap" || die if use doc; then dohtml html/* insinto /usr/share/doc/${PF}/examples doins examples/{*.cpp,examples.ide,makefile.g95} fi }