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.

36 lines
965 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/quat/quat-1.20.ebuild,v 1.12 2010/10/03 20:22:09 spock Exp $
DESCRIPTION="A 3D quaternionic fractal generator"
HOMEPAGE="http://www.physcip.uni-stuttgart.de/phy11733/quat_e.html"
SRC_URI="http://www.physcip.uni-stuttgart.de/phy11733/download/quat-1.20.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="X debug"
DEPEND="X? ( =x11-libs/fltk-1*
x11-libs/libX11
x11-libs/libXext
x11-libs/libXft
)
>=sys-libs/zlib-1.1.4"
RDEPEND=""
src_compile() {
export FLUID="/usr/bin/fluid" # needed because configure tries an invalid option
econf \
`use_enable X gui` \
`use_enable debug` \
`use_enable debug prof` \
|| die "configure failure"
emake || die "make failure"
}
src_install() {
make DESTDIR="${D}" install || die "make install failure"
dodoc AUTHORS ChangeLog NEWS README
}