ifolder/dev-db/libflaim/libflaim-4.9.989.ebuild
geos_one 5ea0e6ae6d dev-db/libflaim: repoman cleanup
(Portage version: 2.2.0_alpha26-r1/svn/Linux x86_64)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@2850 6952d904-891a-0410-993b-d76249ca496b
2011-03-05 09:34:02 +00:00

42 lines
1007 B
Bash

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