# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ ESVN_REPO_URI="https://gigi.svn.sourceforge.net/svnroot/gigi/trunk/GG" inherit subversion DESCRIPTION="GiGi is a small, efficient, and feature-rich C++ GUI for SDL and OpenGL. It is uses frame-based rendering and has fully customizable graphics, making it ideal for use in low- or high-frame rate applications and games." HOMEPAGE="http://gigi.sourceforge.net/" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="dev-util/scons media-libs/devil media-libs/freetype dev-libs/boost media-libs/libsdl media-libs/sdl-net" RDEPEND="${DEPEND}" #S="${WORKDIR}/${P}/GG" src_compile() { sed "s|'ln -s ' + lib_dir + '/'|'ln -s '|g" -i SConstruct scons } src_install() { scons prefix="${D}/usr/" pkgconfigdir="${D}/usr/lib/pkgconfig" install || die "install failed" #is this really necessary? for dir in GiGi GiGiNet GiGiSDL; do sed "s_${D}_/_g" -i ${D}/usr/lib/pkgconfig/${dir}.pc done }