You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-libs/gtkglarea/gtkglarea-1.2.3-r1.ebuild

44 lines
1.0 KiB

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkglarea/gtkglarea-1.2.3-r1.ebuild,v 1.27 2010/09/17 11:16:19 scarabeus Exp $
inherit eutils multilib autotools
# GTKGLArea has been abandoned by the author. We'll continue to mirror the
# source on Gentoo mirrors.
DESCRIPTION="GL Extentions for gtk+"
HOMEPAGE="http://www.student.oulu.fi/~jlof/gtkglarea/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="1"
KEYWORDS="alpha amd64 arm hppa ia64 ppc sh sparc x86"
IUSE=""
RDEPEND="=x11-libs/gtk+-1.2*
virtual/opengl"
DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-m4.patch
if [ $(get_libdir) != "lib" ] ; then
eautoreconf
fi
}
src_compile() {
./configure --prefix=/usr \
--host=${CHOST} \
--libdir=/usr/$(get_libdir) || die
emake || die
}
src_install() {
make DESTDIR="${D}" libdir=/usr/$(get_libdir) install || die
dodoc AUTHORS ChangeLog NEWS README
docinto txt
dodoc docs/*.txt
}