diff options
author | Federico Ferri <mescalinum@gentoo.org> | 2009-09-04 06:23:33 +0000 |
---|---|---|
committer | Federico Ferri <mescalinum@gentoo.org> | 2009-09-04 06:23:33 +0000 |
commit | d4b5ffe9217f1143f45a047cf7e77b5b9c918f18 (patch) | |
tree | 0d364c6777bdcd9ab685d00d29a1de188e48d521 /dev-tcltk/togl/togl-2.0-r1.ebuild | |
parent | Version bump. (diff) | |
download | historical-d4b5ffe9217f1143f45a047cf7e77b5b9c918f18.tar.gz historical-d4b5ffe9217f1143f45a047cf7e77b5b9c918f18.tar.bz2 historical-d4b5ffe9217f1143f45a047cf7e77b5b9c918f18.zip |
revbump (pick from sci overlay)
Package-Manager: portage-2.2_rc38/cvs/Linux x86_64
Diffstat (limited to 'dev-tcltk/togl/togl-2.0-r1.ebuild')
-rw-r--r-- | dev-tcltk/togl/togl-2.0-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-tcltk/togl/togl-2.0-r1.ebuild b/dev-tcltk/togl/togl-2.0-r1.ebuild new file mode 100644 index 000000000000..05d7ae08de04 --- /dev/null +++ b/dev-tcltk/togl/togl-2.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/togl/togl-2.0-r1.ebuild,v 1.1 2009/09/04 06:23:33 mescalinum Exp $ + +EAPI="2" + +MY_P="Togl${PV}" + +DESCRIPTION="A Tk widget for OpenGL rendering" +HOMEPAGE="http://togl.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug +threads" + +RDEPEND="dev-lang/tk + virtual/opengl" +DEPEND="${RDEPEND}" + +# tests directory is missing +RESTRICT="test" + +S="${WORKDIR}"/${MY_P} + +src_configure() { + econf \ + $(use_enable debug symbols) \ + $(use_enable amd64 64bit) \ + $(use_enable threads) +} + +src_install() { + emake DESTDIR="${D}" install || die "failed to install" + dohtml doc/* || die "no html" + dodoc README* || die "no README" +} |