Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 333161 | Differences between
and this patch

Collapse All | Expand All

(-)plib-1.8.5.ebuild (-16 / +22 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/plib/plib-1.8.5.ebuild,v 1.6 2009/12/26 16:59:50 armin76 Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/plib/plib-1.8.5.ebuild,v 1.6 2009/12/26 16:59:50 armin76 Exp $
4
4
5
inherit flag-o-matic eutils
5
EAPI=2
6
7
WANT_AUTOCONF=2.5
8
WANT_AUTOMAKE=1.9
9
inherit autotools-utils
6
10
7
DESCRIPTION="multimedia library used by many games"
11
DESCRIPTION="multimedia library used by many games"
8
HOMEPAGE="http://plib.sourceforge.net/"
12
HOMEPAGE="http://plib.sourceforge.net/"
Lines 10-30 Link Here
10
14
11
LICENSE="LGPL-2"
15
LICENSE="LGPL-2"
12
SLOT="0"
16
SLOT="0"
13
KEYWORDS="alpha amd64 hppa ppc sparc x86"
17
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
14
IUSE=""
18
IUSE="static-libs"
15
19
16
DEPEND="virtual/glut
20
RDEPEND="
21
	media-libs/libsdl
22
	virtual/glut
17
	virtual/opengl
23
	virtual/opengl
18
	media-libs/libsdl"
24
"
19
25
DEPEND="${RDEPEND}"
20
src_unpack() {
21
	unpack ${A}
22
	# Since plib only provides static libraries, force
23
	# building as PIC or plib is useless to amd64/etc...
24
	append-flags -fPIC
25
}
26
26
27
src_install() {
27
PATCHES=(
28
	emake DESTDIR="${D}" install || die "emake install failed"
28
	"${FILESDIR}/${P}-shared-libs.patch"
29
	dodoc AUTHORS ChangeLog KNOWN_BUGS NOTICE README* TODO*
29
)
30
31
DOCS=(AUTHORS ChangeLog KNOWN_BUGS NOTICE README TODO-1.6 TODO-2.0 TODO_AFTER135)
32
33
src_prepare() {
34
	autotools-utils_src_prepare
35
	eautoreconf
30
}
36
}

Return to bug 333161