diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 06:36:01 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 06:36:01 +0000 |
commit | 2f7b073c1bc54c873666c4522cd6cd49ac1d59df (patch) | |
tree | 072f3e7b49f6b078b595b1483277009b1f03d0f6 /games-puzzle/quadra/quadra-1.1.8.ebuild | |
parent | games-puzzle (diff) | |
download | gentoo-2-2f7b073c1bc54c873666c4522cd6cd49ac1d59df.tar.gz gentoo-2-2f7b073c1bc54c873666c4522cd6cd49ac1d59df.tar.bz2 gentoo-2-2f7b073c1bc54c873666c4522cd6cd49ac1d59df.zip |
games-puzzle !@
Diffstat (limited to 'games-puzzle/quadra/quadra-1.1.8.ebuild')
-rw-r--r-- | games-puzzle/quadra/quadra-1.1.8.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/games-puzzle/quadra/quadra-1.1.8.ebuild b/games-puzzle/quadra/quadra-1.1.8.ebuild new file mode 100644 index 000000000000..570cd10ad491 --- /dev/null +++ b/games-puzzle/quadra/quadra-1.1.8.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/quadra/quadra-1.1.8.ebuild,v 1.1 2003/09/10 06:36:00 vapier Exp $ + +inherit gcc + +DESCRIPTION="A tetris clone with multiplayer support" +SRC_URI="mirror://sourceforge/quadra/${P}.tar.gz" +HOMEPAGE="http://quadra.sourceforge.net/" + +KEYWORDS="x86" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="svga" + +DEPEND=">=x11-base/xfree-4.1.0 + >=media-libs/libpng-1.2.1 + sys-libs/zlib + svga? ( media-libs/svgalib )" + +src_compile() { + [ `gcc-major-version` == 3 ] && patch -p1<${FILESDIR}/${P}-gcc3.patch + patch -p0<${FILESDIR}/libpng-1.2.5.patch + + local myconf + use svga \ + && myconf="--with-svgalib" \ + || myconf="--without-svgalib" + + econf ${myconf} + emake || die "emake failed" +} + +src_install() { + einstall + + dodoc ChangeLog NEWS README + dohtml help/* +} |