blob: f84a2a04768c2e56fbfad71bb95f65fe16948353 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/guilib/guilib-1.1.0-r1.ebuild,v 1.14 2012/03/31 17:23:27 armin76 Exp $
EAPI=2
inherit eutils toolchain-funcs
MY_P=GUIlib-${PV}
DESCRIPTION="a simple widget set for SDL"
SRC_URI="http://www.libsdl.org/projects/GUIlib/src/${MY_P}.tar.gz"
HOMEPAGE="http://www.libsdl.org/projects/GUIlib/"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc x86"
IUSE=""
RDEPEND=">=media-libs/libsdl-1.0.1"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${P}.makefile.patch \
"${FILESDIR}"/${P}-gcc-4.1.x-fix.diff
}
src_configure() {
tc-export CC CXX LD
econf
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc CHANGES README
}
|