diff options
-rw-r--r-- | x11-libs/fltk/files/digest-fltk-1.1.0_beta10 | 1 | ||||
-rw-r--r-- | x11-libs/fltk/fltk-1.1.0_beta10.ebuild | 51 |
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 + +} + |