2009-02-21 08:59:46 +01:00
|
|
|
# Copyright 1999-2009 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
inherit autotools subversion
|
|
|
|
ESVN_REPO_URI="https://forgesvn1.novell.com/svn/flaim/trunk/ftk/@${PV/1.2_pre/}"
|
|
|
|
|
|
|
|
DESCRIPTION="FLAIM is an acronym that stands for FLexible Adaptable Information Management."
|
|
|
|
HOMEPAGE="http://forge.novell.com/modules/xfmod/project/?flaim"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
KEYWORDS="~x86 ~amd64"
|
2009-02-21 11:09:57 +01:00
|
|
|
SLOT="0"
|
2009-02-21 08:59:46 +01:00
|
|
|
IUSE="ssl doc"
|
|
|
|
|
|
|
|
DEPEND="sys-libs/ncurses
|
|
|
|
ssl? ( dev-libs/openssl )
|
|
|
|
doc? ( app-doc/doxygen )"
|
2009-02-21 11:12:11 +01:00
|
|
|
RDEPEND="sys-libs/ncurses
|
|
|
|
ssl? ( dev-libs/openssl )"
|
2009-02-21 08:59:46 +01:00
|
|
|
|
|
|
|
src_prepare() {
|
2009-02-23 08:55:14 +01:00
|
|
|
epatch "${FILESDIR}"/libflaimtk-doxygen.patch
|
2009-02-21 08:59:46 +01:00
|
|
|
eautoreconf -i
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf $(use_enable ssl openssl) || die "configure failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
einstall || die "einstall failed"
|
|
|
|
rm -r "${D}"/usr/share/doc/ftk || die "rm olddoc failed"
|
|
|
|
dodoc AUTHORS NEWS ChangeLog README || die "dodoc failed"
|
2009-02-23 09:42:26 +01:00
|
|
|
use doc && dohtml -r docs/html/*
|
2009-02-21 08:59:46 +01:00
|
|
|
}
|