diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-05-28 19:52:14 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-05-28 19:52:14 +0000 |
commit | e1bd37ec4d2374543feddab40c31f406fa5f95ea (patch) | |
tree | 7571cb45d38c0dfcf47b1527364c534aa4b4ff68 /x11-libs/fltk/fltk-1.1.7-r3.ebuild | |
parent | Marked ppc stable for bug #312545. (diff) | |
download | gentoo-2-e1bd37ec4d2374543feddab40c31f406fa5f95ea.tar.gz gentoo-2-e1bd37ec4d2374543feddab40c31f406fa5f95ea.tar.bz2 gentoo-2-e1bd37ec4d2374543feddab40c31f406fa5f95ea.zip |
Remove old versions
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/fltk/fltk-1.1.7-r3.ebuild')
-rw-r--r-- | x11-libs/fltk/fltk-1.1.7-r3.ebuild | 110 |
1 files changed, 0 insertions, 110 deletions
diff --git a/x11-libs/fltk/fltk-1.1.7-r3.ebuild b/x11-libs/fltk/fltk-1.1.7-r3.ebuild deleted file mode 100644 index ea7cf8699493..000000000000 --- a/x11-libs/fltk/fltk-1.1.7-r3.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.1.7-r3.ebuild,v 1.6 2010/05/13 14:58:20 ssuominen Exp $ - -inherit eutils toolchain-funcs multilib - -DESCRIPTION="C++ user interface toolkit for X and OpenGL." -HOMEPAGE="http://www.fltk.org" -SRC_URI="mirror://easysw/${PN}/${PV}/${P}-source.tar.bz2" - -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -LICENSE="FLTK LGPL-2" - -PV_MAJOR=${PV/.*/} -PV_MINOR=${PV#${PV_MAJOR}.} -PV_MINOR=${PV_MINOR/.*} -SLOT="${PV_MAJOR}.${PV_MINOR}" - -INCDIR=/usr/include/fltk-${SLOT} -LIBDIR=/usr/$(get_libdir)/fltk-${SLOT} - -IUSE="noxft opengl debug" - -RDEPEND="x11-libs/libXext - x11-libs/libICE - x11-libs/libSM - x11-libs/libXt - x11-proto/xextproto - !noxft? ( x11-libs/libXft ) - media-libs/libpng - media-libs/jpeg - opengl? ( virtual/opengl )" -DEPEND="${RDEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/libs-1.7.diff" - epatch "${FILESDIR}/${P}-amd64.patch" - epatch "${FILESDIR}/${P}-as-needed.patch" - epatch "${FILESDIR}/${P}-dieonerrors.patch" - epatch "${FILESDIR}/${P}-maxmin-typo.patch" - epatch "${FILESDIR}/${P}-xft-and-misc.patch" - - sed -i -e '/C\(XX\)\?FLAGS=/s:@C\(XX\)\?FLAGS@::' \ - "${S}/fltk-config.in" || die "unable to sed out compile flags" -} - -src_compile() { - local myconf - myconf="--enable-shared --enable-xdbe --enable-static --enable-threads" - - if ! use noxft; then - myconf="${myconf} --enable-xft" - else - myconf="${myconf} --disable-xft" - fi - - use debug && myconf="${myconf} --enable-debug" - - 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=$(tc-getCXX) - export CC=$(tc-getCC) - - # bug #19894 - export C_INCLUDE_PATH="${C_INCLUDE_PATH}:/usr/include/freetype2" - export CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:/usr/include/freetype2" - - econf \ - --includedir=${INCDIR}\ - --libdir=${LIBDIR} \ - ${myconf} || die "Configuration Failed" - - emake || die "Parallel Make Failed" -} - -src_install() { - einstall \ - includedir="${D}${INCDIR}" \ - libdir="${D}${LIBDIR}" || die "Installation Failed" - - ranlib "${D}${LIBDIR}"/*.a - - insinto /usr/share/cmake/Modules - doins "${FILESDIR}"/FLTKConfig.cmake CMake/FLTKUse.cmake - - dodoc CHANGES README - - echo "LDPATH=${LIBDIR}" > 99fltk-${SLOT} - echo "FLTK_DOCDIR=/usr/share/doc/${PF}/html" >> 99fltk-${SLOT} - - doenvd 99fltk-${SLOT} - - dohtml -A xbm,xpm,h,cxx,fl,menu -r "${D}"/usr/share/doc/fltk/* - rm -rf "${D}"/usr/share/doc/fltk - rm -rf "${D}"/usr/share/man/cat{1,3} - - sed -i -e 's,^LDFLAGS=.*$,LDFLAGS="",g' "${D}/usr/bin/fltk-config" || \ - die "sed of fltk-config failed" - -} - -pkg_postinst() { - ewarn "the xft USE flag has been changed to noxft. this was because most" - ewarn "users want xft, but if you do not, be sure to change the flag" -} |