diff options
Diffstat (limited to 'sys-libs/gwenhywfar/gwenhywfar-3.4.1.ebuild')
-rw-r--r-- | sys-libs/gwenhywfar/gwenhywfar-3.4.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sys-libs/gwenhywfar/gwenhywfar-3.4.1.ebuild b/sys-libs/gwenhywfar/gwenhywfar-3.4.1.ebuild new file mode 100644 index 000000000000..1b97dfd8d661 --- /dev/null +++ b/sys-libs/gwenhywfar/gwenhywfar-3.4.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gwenhywfar/gwenhywfar-3.4.1.ebuild,v 1.1 2008/09/01 17:29:18 hanno Exp $ + +inherit flag-o-matic + +append-ldflags -Wl,--no-as-needed +RESTRICT="test" + +DESCRIPTION="A multi-platform helper library for other libraries" +HOMEPAGE="http://gwenhywfar.sourceforge.net" +SRC_URI="http://files.hboeck.de/aq/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +IUSE="debug ssl doc ncurses" + +RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b ) + sys-libs/ncurses + ncurses? ( sys-libs/ncurses )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_compile() { + econf \ + $(use_enable ssl) \ + $(use_enable debug) \ + $(use_enable doc full-doc) \ + $(use_enable ncurses gwenui) \ + --with-docpath="/usr/share/doc/${PF}/apidoc" || die "configure failed" + emake || die "emake failed" + if use doc ; then + emake srcdoc || die "emake failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc README* AUTHORS ChangeLog TODO || die "dodoc failed" + if use doc ; then + make DESTDIR="${D}" install-srcdoc || die "install doc failed" + fi + find "${D}" -name '*.la' -delete +} |