# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 inherit eutils RESTRICT="nomirror" DESCRIPTION="LibGGIWMH is a LibGGI extension whereby wmh stands for \"Window Manager Hints\"" HOMEPAGE="http://www.ggi-project.org/" SRC_URI="mirror://sourceforge/ggi/${P}.src.tar.gz" SLOT="0" LICENSE="LGPL-2" KEYWORDS="~ppc" IUSE="X" DEPEND=">=media-libs/libggi-2.1.0" src_unpack() { unpack ${A} cd "${S}" #epatch "${FILESDIR}/${P}_fix-blah.patch" # hopefully. :) } src_compile() { econf --enable-shared \ $(use_enable X x) \ $(use_with X x) \ || die "econf failed. :(" emake || die "emake failed. :(" } src_install () { make DESTDIR="${D}" install || die "Install failed. :(" dodoc ChangeLog COPYING INSTALL README dodoc doc/libggiwmh{-functions,-libraries,}.txt }