9b21aef81e
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@1861 6952d904-891a-0410-993b-d76249ca496b
39 lines
973 B
Bash
39 lines
973 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="2"
|
|
inherit autotools subversion eutils
|
|
ESVN_REPO_URI="https://flaim.svn.sourceforge.net/svnroot/flaim/trunk/flaim/@${PV/4.10_pre/}"
|
|
|
|
DESCRIPTION="FLAIM is an acronym that stands for FLexible Adaptable Information Management."
|
|
HOMEPAGE="http://flaim.sourceforge.net/"
|
|
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="~x86 ~amd64"
|
|
SLOT="0"
|
|
IUSE="doc static debug"
|
|
|
|
RDEPEND="sys-libs/ncurses
|
|
>=dev-libs/libflaimtk-1.2_pre${PV/4.10_pre/}[static?]"
|
|
DEPEND="${RDEPEND}
|
|
>=sys-devel/libtool-2.2
|
|
doc? ( app-doc/doxygen )"
|
|
|
|
src_prepare() {
|
|
eautoreconf -i
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
$(use_enable debug) \
|
|
$(use_enable static) || die "configure failed"
|
|
}
|
|
|
|
src_install() {
|
|
einstall || die "einstall failed"
|
|
rm -rf "${D}"/usr/share/doc/flaim || die "rm olddoc failed"
|
|
dodoc AUTHORS NEWS ChangeLog README || die "dodoc failed"
|
|
use doc && dohtml -r docs/doxygen/html/*
|
|
}
|