# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-board/ace/ace-1.2-r1.ebuild,v 1.3 2004/03/24 04:41:46 mr_bones_ Exp $ inherit games DESCRIPTION="DJ Delorie's Ace of Penguins solitaire games" HOMEPAGE="http://www.delorie.com/store/ace/" SRC_URI="http://www.delorie.com/store/ace/${P}.tar.gz" KEYWORDS="x86" LICENSE="GPL-2" SLOT="0" IUSE="" RDEPEND="virtual/x11 media-libs/libpng sys-libs/zlib" DEPEND="${RDEPEND} >=sys-devel/libtool-1.3.4 >=sys-apps/sed-4" src_compile() { egamesconf || die for f in `grep 1.3.4 * -l` ; do sed -i -e 's:1.3.4::' ${f} || die "sed ${f} failed" done emake || die "emake died (first pass)" ./ltconfig ltmain.sh || die "./ltconfig failed" emake || die "emake died (second pass)" } src_install() { make DESTDIR=${D} install || die "make install failed" dodoc AUTHORS ChangeLog INSTALL NEWS README rm docs/COPYING dohtml docs/* prepgamesdirs }