summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTod Neidt <tod@gentoo.org>2002-01-25 07:47:14 +0000
committerTod Neidt <tod@gentoo.org>2002-01-25 07:47:14 +0000
commita3038ed5e67061e78d36e3d375f77d721ab9f58a (patch)
tree5cbb147539af064e0515356610d6582eda2c40d2 /x11-libs
parentupdated syntax and install directory (diff)
downloadgentoo-2-a3038ed5e67061e78d36e3d375f77d721ab9f58a.tar.gz
gentoo-2-a3038ed5e67061e78d36e3d375f77d721ab9f58a.tar.bz2
gentoo-2-a3038ed5e67061e78d36e3d375f77d721ab9f58a.zip
latest beta
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/fltk/files/digest-fltk-1.1.0_beta101
-rw-r--r--x11-libs/fltk/fltk-1.1.0_beta10.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/x11-libs/fltk/files/digest-fltk-1.1.0_beta10 b/x11-libs/fltk/files/digest-fltk-1.1.0_beta10
new file mode 100644
index 000000000000..79a5297901b6
--- /dev/null
+++ b/x11-libs/fltk/files/digest-fltk-1.1.0_beta10
@@ -0,0 +1 @@
+MD5 58cbcab46f925e74ec978803d4064381 fltk-1.1.0b10-source.tar.bz2 1089536
diff --git a/x11-libs/fltk/fltk-1.1.0_beta10.ebuild b/x11-libs/fltk/fltk-1.1.0_beta10.ebuild
new file mode 100644
index 000000000000..35a562c2eb90
--- /dev/null
+++ b/x11-libs/fltk/fltk-1.1.0_beta10.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Tod Neidt <tneidt@fidnet.com>
+# /space/gentoo/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.0.11.ebuild,v 1.2 2001/06/04 00:16:12 achim Exp
+
+MYVER=${PV/_beta/b}
+S=${WORKDIR}/${PN}-${MYVER}
+
+DESCRIPTION="C++ user interface toolkit for X and OpenGL."
+
+SRC_URI="ftp://ftp.easysw.com/pub/fltk/${MYVER}/${PN}-${MYVER}-source.tar.bz2"
+
+HOMEPAGE="http://www.fltk.org"
+
+DEPEND="virtual/glibc
+ virtual/x11
+ opengl? ( virtual/opengl )"
+
+
+src_compile() {
+
+ local myconf
+ #shared libraries diabled by default
+ myconf="--enable-shared"
+
+ use opengl || myconf="$myconf --disable-gl" #default enabled
+
+#Learned '${prefix}' trick from studying python ebuild
+#There are no info files
+ ./configure \
+ --prefix=/usr \
+ --mandir='${prefix}'/share/man \
+ --host=${CHOST} || die "Configuration Failed"
+
+ emake || die "Parallel Make Failed"
+
+}
+
+src_install () {
+
+ make prefix=${D}/usr/ \
+ install || die "Installation Failed"
+
+ dodoc CHANGES COPYING README
+
+ dodir /usr/share/doc/${PF}/html
+ mv ${D}/usr/share/doc/fltk/* ${D}/usr/share/doc/${PF}/html
+ rmdir ${D}/usr/share/doc/fltk
+
+}
+