diff options
Diffstat (limited to 'sys-libs/gwenhywfar/gwenhywfar-2.1.1.ebuild')
-rw-r--r-- | sys-libs/gwenhywfar/gwenhywfar-2.1.1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-libs/gwenhywfar/gwenhywfar-2.1.1.ebuild b/sys-libs/gwenhywfar/gwenhywfar-2.1.1.ebuild new file mode 100644 index 000000000000..40535757dc5f --- /dev/null +++ b/sys-libs/gwenhywfar/gwenhywfar-2.1.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gwenhywfar/gwenhywfar-2.1.1.ebuild,v 1.1 2006/03/26 20:52:11 hanno Exp $ + +DESCRIPTION="A multi-platform helper library for other libraries" +HOMEPAGE="http://gwenhywfar.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" + +IUSE="debug ssl doc ncurses" + +DEPEND="ssl? ( >=dev-libs/openssl-0.9.6b ) + sys-libs/ncurses + doc? ( app-doc/doxygen ) + ncurses? ( sys-libs/ncurses )" +S=${WORKDIR}/${P} + +src_compile() { + if use doc; then + APIDOC="--with-docpath=/usr/share/doc/${P}/apidoc" + fi + econf \ + `use_enable ssl` \ + `use_enable debug` \ + `use_enable doc full-doc` \ + `use_enable ncurses gwenui` \ + ${APIDOC} || die "configure failed" + emake || die "emake failed" + if use doc; then + emake srcdoc || die "Building the api-doc failed" + fi +} + +src_install() { + make DESTDIR=${D} install || die + dodoc README* AUTHORS ABOUT-NLS COPYING ChangeLog INSTALL TODO + if use doc; then + make DESTDIR=${D} install-srcdoc || die "Installing the API-Doc failed" + fi +} |