# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/fltk-2.0_pre6786.ebuild,v 1.11 2009/07/15 21:43:53 volkmar Exp $ EAPI="2" inherit multilib autotools flag-o-matic MY_P=${P/_pre/.x-r} DESCRIPTION="C++ user interface toolkit for X and OpenGL" HOMEPAGE="http://www.fltk.org/" SRC_URI="mirror://easysw/fltk/snapshots/${MY_P}.tar.bz2" KEYWORDS="alpha amd64 arm hppa ia64 ppc ~ppc64 sparc x86" LICENSE="FLTK LGPL-2" SLOT="2" IUSE="cairo debug doc +jpeg +png opengl +xft xinerama zlib" RDEPEND="x11-libs/libXext x11-libs/libICE x11-libs/libSM x11-libs/libXt xft? ( x11-libs/libXft ) png? ( media-libs/libpng ) jpeg? ( media-libs/jpeg ) opengl? ( virtual/opengl ) cairo? ( x11-libs/cairo ) xinerama? ( x11-libs/libXinerama ) zlib? ( sys-libs/zlib ) 99fltk-${SLOT} echo "FLTK_DOCDIR=/usr/share/doc/${PF}/html" >> 99fltk-${SLOT} doenvd 99fltk-${SLOT} || die "installing env.d file failed" }