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.
gentoo-overlay/dev-db/xbase/xbase-3.1.2.ebuild

42 lines
1.0 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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 ~arm hppa ppc ppc64 x86 ~x86-fbsd"
IUSE="doc static-libs"
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/*
fi
}