blob: 7dd30f9763f7255c316ce2fd4edc9ec664f57424 [file] [log] [blame]
# Copyright 1999-2009 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.13 2009/09/12 10:39:55 ssuominen 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="alpha amd64 ~hppa ppc sparc 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
}