# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Bret Towe # /space/gentoo/cvsroot/gentoo-x86/app-games/eboard/eboard-0.4.3.ebuild,v 1.4 2002/05/27 17:27:34 drobbins Exp S=${WORKDIR}/${P} EXTRAS=eboard-extras-1pl2 EXDIR=${WORKDIR}/${EXTRAS} SRC_URI="mirror://sourceforge/eboard/${P}.tar.gz mirror://sourceforge/eboard/${EXTRAS}.tar.gz" HOMEPAGE="http://eboard.sourceforge.net/" DESCRIPTION="eboard is a chess interface for POSIX systems" DEPEND="=x11-libs/gtk+-1.2* >=media-libs/imlib-1.9.7" src_unpack(){ unpack ${A} cd ${S} patch -p1 <${FILESDIR}/eboard-0.4.3-gcc31.patch || die } src_compile() { cd ${S} ./configure --prefix=/usr || die emake || die } src_install() { emake DESTDIR=${D} install || die dodoc README AUTHORS COPYING ChangeLog INSTALL NEWS TODO dodoc Documentation/* cd ${EXDIR} mv extras1.conf themeconf.extras1 insinto /usr/share/eboard doins *.png doins *.wav doins themeconf.extras1 mv ChangeLog Changelog.extras mv README README.extras dodoc CREDITS ChangeLog.extras README.extras }