blob: a63771ccd2ede6a968ecf4be77d7cd9d315e13ba (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-pango/sdl-pango-0.1.2.ebuild,v 1.6 2010/07/27 03:48:06 mr_bones_ Exp $
EAPI=2
inherit eutils
DESCRIPTION="connect the text rendering engine of GNOME to SDL"
HOMEPAGE="http://sdlpango.sourceforge.net/"
SRC_URI="mirror://sourceforge/sdlpango/SDL_Pango-${PV}.tar.gz
http://zarb.org/~gc/t/SDL_Pango-0.1.2-API-adds.patch"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
IUSE="static-libs"
RDEPEND="x11-libs/pango
media-libs/libsdl[video]"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S=${WORKDIR}/SDL_Pango-${PV}
src_unpack() {
unpack SDL_Pango-${PV}.tar.gz
}
src_prepare() {
epatch "${DISTDIR}"/SDL_Pango-0.1.2-API-adds.patch
}
src_configure() {
econf \
--disable-dependency-tracking \
$(use_enable static-libs static)
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README
if ! use static-libs ; then
find "${D}" -type f -name '*.la' -exec rm {} + \
|| die "la removal failed"
fi
}
|