# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="wxAUI user interface library" HOMEPAGE="http://www.kirix.com/en/community/opensource/wxaui/about_wxaui.html" SRC_URI="ftp://ftp.rodsoft.org/pub/download/wxaui-0.9.1.tar.gz" LICENSE="wxWindows Library Licence, Version 3.1" SLOT="0" KEYWORDS="~x86" IUSE="debug no_release" DEPEND=">=x11-libs/wxGTK-2.6.2" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/wxaui-0.9.1-Makefile.patch epatch ${FILESDIR}/modern.patch } src_compile() { use debug && ( WXPARAM="--debug" make || die ) ! use no_release && ( make || die ) } src_install() { cd ${WORKDIR}/${P} use debug && (WXPARAM="--debug" emake DESTDIR="${D}" install || die) ! use no_release && (emake DESTDIR="${D}" install || die) }