# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-perl/sdl-perl/sdl-perl-1.20.3-r1.ebuild,v 1.3 2006/08/06 03:08:09 mcummings Exp $ inherit perl-module eutils MY_P=${P/sdl-/SDL_} S=${WORKDIR}/${MY_P} DESCRIPTION="SDL binding for perl" HOMEPAGE="http://sdl.perl.org/" SRC_URI="mirror://gentoo/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 hppa ppc sparc x86" IUSE="truetype mpeg" DEPEND="virtual/opengl >=media-libs/sdl-mixer-1.0.5 >=media-libs/sdl-image-1.0.0 media-libs/sdl-gfx mpeg? ( media-libs/smpeg ) truetype? ( >=media-libs/sdl-ttf-2.0.5 ) dev-lang/perl" RDEPEND="${DEPEND}" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-pie-typo.patch }