2011-03-05 10:30:52 +01:00
|
|
|
# Copyright 1999-2011 Gentoo Foundation
|
2010-01-16 10:56:06 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2011-03-05 10:34:02 +01:00
|
|
|
# $Header: $
|
2010-01-16 10:56:06 +01:00
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
|
|
|
|
inherit eutils
|
|
|
|
|
2011-03-05 10:34:02 +01:00
|
|
|
DESCRIPTION="Flaim is an embeddable database engine that provides a rich, powerful feature set."
|
2010-01-16 10:56:06 +01:00
|
|
|
HOMEPAGE="http://flaim.sourceforge.net"
|
2010-05-10 20:43:24 +02:00
|
|
|
SRC_URI="http://ftp.disconnected-by-peer.at/flaim/${P}.tar.gz
|
2011-03-05 10:30:52 +01:00
|
|
|
mirror://sourceforge/flaim/stable/flaim/source/${P}.tar.gz
|
|
|
|
mirror://sourceforge/flaim/unstable/flaim/source/${P}.tar.gz"
|
2010-01-16 10:56:06 +01:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2010-05-18 21:33:14 +02:00
|
|
|
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
2010-01-16 10:56:06 +01:00
|
|
|
RESTRICT="mirror"
|
2011-03-05 10:34:02 +01:00
|
|
|
IUSE="static"
|
2010-01-16 10:56:06 +01:00
|
|
|
|
|
|
|
RDEPEND="!dev-lib/libflaimtk"
|
|
|
|
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
# S="${WORKDIR}/${P}/flaim"
|
|
|
|
|
|
|
|
src_prepare() {
|
2011-03-05 10:30:52 +01:00
|
|
|
epatch "${FILESDIR}"/libflaim-pic-ldconfig-fortify.patch
|
2010-01-16 10:56:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
cd flaim
|
2011-03-05 10:30:52 +01:00
|
|
|
make DESTDIR="${D}" CXXFLAGS="${CXXFLAGS} -Wno-error" OSTYPE=`uname -s` HOSTTYPE=`uname -m` || \
|
2010-01-16 10:56:06 +01:00
|
|
|
die "Error compiling ${PN}"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
cd flaim
|
2011-03-05 10:30:52 +01:00
|
|
|
make DESTDIR="${D}" install OSTYPE=`uname -s` HOSTTYPE=`uname -m` || \
|
2010-01-16 10:56:06 +01:00
|
|
|
die "Error installing ${PN}"
|
|
|
|
}
|