summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-libs/fltk/ChangeLog8
-rw-r--r--x11-libs/fltk/files/digest-fltk-1.1.0_rc61
-rw-r--r--x11-libs/fltk/fltk-1.1.0_rc6.ebuild51
3 files changed, 59 insertions, 1 deletions
diff --git a/x11-libs/fltk/ChangeLog b/x11-libs/fltk/ChangeLog
index 4206e2c14ca0..780b481db8d4 100644
--- a/x11-libs/fltk/ChangeLog
+++ b/x11-libs/fltk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/fltk
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/ChangeLog,v 1.6 2002/08/12 14:33:14 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/ChangeLog,v 1.7 2002/08/22 19:54:54 raker Exp $
+
+*fltk-1.1.0_rc6 (22 Aug 2002)
+
+ 22 Aug 2002; Nick Hadaway <raker@gentoo.org>
+ fltk-1.1.0_rc6.ebuild, files/digest-fltk-1.1.0_rc6 :
+ Version bump.
*fltk-1.0.11-r3 fltk-1.1.0_rc5 (12 Aug 2002)
diff --git a/x11-libs/fltk/files/digest-fltk-1.1.0_rc6 b/x11-libs/fltk/files/digest-fltk-1.1.0_rc6
new file mode 100644
index 000000000000..d39b161c6f12
--- /dev/null
+++ b/x11-libs/fltk/files/digest-fltk-1.1.0_rc6
@@ -0,0 +1 @@
+MD5 3ca442be375426fd6a89a9cfcb3fda77 fltk-1.1.0rc6-source.tar.bz2 1260952
diff --git a/x11-libs/fltk/fltk-1.1.0_rc6.ebuild b/x11-libs/fltk/fltk-1.1.0_rc6.ebuild
new file mode 100644
index 000000000000..eb43075c6564
--- /dev/null
+++ b/x11-libs/fltk/fltk-1.1.0_rc6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.1.0_rc6.ebuild,v 1.1 2002/08/22 19:54:54 raker Exp $
+
+MY_P=${P/_/}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="C++ user interface toolkit for X and OpenGL."
+HOMEPAGE="http://www.fltk.org"
+SRC_URI="ftp://ftp.easysw.com/pub/fltk/${PV/_/}/${MY_P}-source.tar.bz2"
+
+SLOT="1.1"
+KEYWORDS="x86 sparc sparc64"
+LICENSE="FLTK | GPL-2"
+
+DEPEND="media-libs/libpng
+ media-libs/jpeg
+ opengl? ( virtual/opengl )"
+
+src_compile() {
+
+ local myconf
+ myconf="--enable-shared --enable-threads"
+
+ use opengl || myconf="${myconf} --disable-gl"
+
+ use xft && myconf="${myconf} --enable-xft"
+
+ use xdbe && myconf="${myconf} --enable-xdbe"
+
+ econf \
+ --includedir=/usr/include/${PN}-1.1 \
+ --libdir=/usr/lib/fltk-1.1 \
+ ${myconf} || die "Configuration Failed"
+
+ emake || die "Parallel Make Failed"
+
+}
+
+src_install () {
+
+ einstall \
+ includedir=${D}/usr/include/${PN}-1.1 \
+ libdir=${D}/usr/lib/fltk-1.1 || die "Installation Failed"
+
+ dodoc CHANGES COPYING README
+
+ echo "LDPATH=/usr/lib/fltk-1.1" > 99fltk-1.1
+
+ insinto /etc/env.d
+ doins 99fltk-1.1
+}