diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-05-16 11:18:28 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-05-16 11:18:28 +0000 |
commit | fb282e50740b5b8d25d597c088b9a6b2c9aed849 (patch) | |
tree | 8f538e83ff9a10fb722237db4922a1699aab425b /x11-libs/fltk | |
parent | version bump and dep additions (diff) | |
download | historical-fb282e50740b5b8d25d597c088b9a6b2c9aed849.tar.gz historical-fb282e50740b5b8d25d597c088b9a6b2c9aed849.tar.bz2 historical-fb282e50740b5b8d25d597c088b9a6b2c9aed849.zip |
version bump and dep additions
Diffstat (limited to 'x11-libs/fltk')
-rw-r--r-- | x11-libs/fltk/Manifest | 4 | ||||
-rw-r--r-- | x11-libs/fltk/files/digest-fltk-1.1.3 | 1 | ||||
-rw-r--r-- | x11-libs/fltk/fltk-1.1.3.ebuild | 76 |
3 files changed, 79 insertions, 2 deletions
diff --git a/x11-libs/fltk/Manifest b/x11-libs/fltk/Manifest index 064ed9950a9e..e275a16b0389 100644 --- a/x11-libs/fltk/Manifest +++ b/x11-libs/fltk/Manifest @@ -1,10 +1,10 @@ -MD5 bd78680b5c4c275c735d570eca857941 ChangeLog 4223 +MD5 d166f810698040b72b31b81a7256e504 ChangeLog 4360 MD5 89a2d657da5a9c4d704d420d09ea9aab fltk-1.0.11-r3.ebuild 1221 MD5 7741b5bb78c150bdb17298433b54d185 fltk-1.1.0_rc7.ebuild 1313 MD5 f00591dea2bd2aa68ac8dde6892db899 fltk-1.1.1.ebuild 1300 MD5 57759ff97f81f83e675ed84ec57ed774 fltk-1.1.2-r1.ebuild 1818 MD5 01f86150585510c9774a559ef8a74ab0 fltk-1.1.2.ebuild 1299 -MD5 8b8429230556b632ab44d779869ec37c fltk-1.1.3.ebuild 1839 +MD5 f1baef02e4f14acab5f70184ff509d07 fltk-1.1.3.ebuild 2006 MD5 80af2d99e9922762e5f3f693f6b5139f fltk-1.1.2-r2.ebuild 1975 MD5 66e9fc032d679befebde2ff1709eaa21 files/digest-fltk-1.0.11-r3 71 MD5 74fc94981d92895e653f46d93575b4a0 files/digest-fltk-1.1.0_rc7 74 diff --git a/x11-libs/fltk/files/digest-fltk-1.1.3 b/x11-libs/fltk/files/digest-fltk-1.1.3 new file mode 100644 index 000000000000..1446878d71af --- /dev/null +++ b/x11-libs/fltk/files/digest-fltk-1.1.3 @@ -0,0 +1 @@ +MD5 f32b4acc456d567a6bd554ac03c24055 fltk-1.1.3-source.tar.bz2 1244465 diff --git a/x11-libs/fltk/fltk-1.1.3.ebuild b/x11-libs/fltk/fltk-1.1.3.ebuild new file mode 100644 index 000000000000..25a6d724515e --- /dev/null +++ b/x11-libs/fltk/fltk-1.1.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.1.3.ebuild,v 1.1 2003/05/16 11:18:18 liquidx Exp $ + +inherit eutils + +DESCRIPTION="C++ user interface toolkit for X and OpenGL." +HOMEPAGE="http://www.fltk.org" +SRC_URI="ftp://ftp.easysw.com/pub/fltk/${PV}/${P}-source.tar.bz2" + +SLOT="1.1" +KEYWORDS="~x86 ~ppc ~sparc" +LICENSE="FLTK | GPL-2" +IUSE="opengl" + +DEPEND="virtual/x11 + virtual/xft + media-libs/libpng + media-libs/jpeg + opengl? ( virtual/opengl )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/libs.diff || die "patch failed" +} + +src_compile() { + local myconf + myconf="--enable-shared --enable-static --enable-threads \ + --enable-xdbe --enable-xft" + + # If you still have problems and you just uninstalled + # xft and didn't re-install xfree to get the right headers + # back the xft enabled build still wont work. :) I hope to fix + # this eventually but for the 1.4 release... + #if [ -d ${ROOT}var/db/pkg/x11-libs/xft* ]; then + # myconf="${myconf} --disable-xft" + #else + # myconf="${myconf} --enable-xft" + #fi + + use opengl || myconf="${myconf} --disable-gl" + + # needed for glibc-2.3.1 (as far as i can test) + # otherwise libstdc++ won't be linked. #17894 and #15572 + # doesn't happen for glibc-2.3.2 - <liquidx@gentoo.org> + export CXX="g++" + export CC="g++" + + # bug #19894 + export C_INCLUDE_PATH="${C_INCLUDE_PATH}:/usr/include/freetype2" + export CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:/usr/include/freetype2" + + econf \ + --includedir=/usr/include/fltk-1.1 \ + --libdir=/usr/lib/fltk-1.1 \ + ${myconf} || die "Configuration Failed" + + emake || die "Parallel Make Failed" +} + +src_install() { + einstall \ + includedir=${D}/usr/include/fltk-1.1 \ + libdir=${D}/usr/lib/fltk-1.1 || die "Installation Failed" + + ranlib ${D}/usr/lib/fltk-1.1/*.a + + dodoc CHANGES COPYING README + + echo "LDPATH=/usr/lib/fltk-1.1" > 99fltk-1.1 + + insinto /etc/env.d + doins 99fltk-1.1 +} |