summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-03-09 10:26:59 +0000
committerAchim Gottinger <achim@gentoo.org>2001-03-09 10:26:59 +0000
commit92aa49df5fbb94f611714048bc4f5764eb790368 (patch)
tree8733810875a5a5e23fac4fb5667964a5ef22d824 /x11-libs/fltk
parent*** empty log message *** (diff)
downloadgentoo-2-92aa49df5fbb94f611714048bc4f5764eb790368.tar.gz
gentoo-2-92aa49df5fbb94f611714048bc4f5764eb790368.tar.bz2
gentoo-2-92aa49df5fbb94f611714048bc4f5764eb790368.zip
*** empty log message ***
Diffstat (limited to 'x11-libs/fltk')
-rw-r--r--x11-libs/fltk/fltk-1.0.10-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/x11-libs/fltk/fltk-1.0.10-r1.ebuild b/x11-libs/fltk/fltk-1.0.10-r1.ebuild
new file mode 100644
index 000000000000..d23044aac677
--- /dev/null
+++ b/x11-libs/fltk/fltk-1.0.10-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Your Name <your email>
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.0.10-r1.ebuild,v 1.1 2001/03/09 10:26:59 achim Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="C++ user interface toolkit for X and OpenGL."
+SRC_URI="ftp://ftp.fltk.org/pub/fltk/${PV}/${P}-source.tar.bz2"
+HOMEPAGE="http://www.fltk.org"
+DEPEND=">=x11-base/xfree-4.0.1
+ opengl? ( >=media-libs/mesa-3.4 )"
+
+
+src_compile() {
+
+ try ./configure --prefix=/usr/X11R6 --host=${CHOST} --enable-shared
+ if [ -z "`use opengl`" ]
+ then
+ cp config.h config.orig
+ sed -e "s:#define HAVE_GL.*:#define HAVE_GL 0:" \
+ config.orig > config.h
+ fi
+ try make
+
+}
+
+src_install () {
+
+ cd ${S}
+ try make prefix=${D}/usr/X11R6 install
+ dodoc CHANGES COPYING README*
+ mv ${D}/usr/X11R6/share/doc/fltk ${D}/usr/share/doc/${PF}/html
+
+}
+