# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 inherit eutils RESTRICT="nomirror" DESCRIPTION="LibGGIGCP is a LibGGI extension for advanced color and palette handling" SRC_URI="mirror://sourceforge/ggi/${P}.src.tar.gz" HOMEPAGE="http://www.ggi-project.org/" SLOT="0" LICENSE="as-is" KEYWORDS="~ppc" IUSE="" DEPEND=">=media-libs/libggi-2.2.1-r1" RDEPEND="${DEPEND}" src_unpack() { unpack ${A} cd "${S}" #epatch "${FILESDIR}/${P}_fix-blah.patch" # hopefully. :) } src_compile() { # One of GGI proposes is --enable-shared by default # and completely upper compatible any version. econf --enable-shared || die "econf failed. :(" emake || die "emake failed. :(" } src_install () { make DESTDIR="${D}" install || die "Install failed. :(" dodoc ChangeLog COPYING README dodoc doc/{colors2.faq,colors.faq,TODO} dodoc doc/libggigcp{-functions,-libraries,-structures,}.txt }