blob: 7bf39ab5b11316041dc8716c0a669eb7c5e31bfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# 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.4 2007/07/10 23:33:30 mr_bones_ 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
}
|