* [gentoo-commits] gentoo-x86 commit in dev-scheme/drscheme: drscheme-4.0.2.ebuild
@ 2008-07-05 10:21 Marijn Schouten (hkbst)
0 siblings, 0 replies; only message in thread
From: Marijn Schouten (hkbst) @ 2008-07-05 10:21 UTC (permalink / raw
To: gentoo-commits
hkbst 08/07/05 10:21:50
Added: drscheme-4.0.2.ebuild
Log:
bump
(Portage version: 2.2_rc1/cvs/Linux 2.6.23-gentoo-r8 x86_64)
Revision Changes Path
1.1 dev-scheme/drscheme/drscheme-4.0.2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/drscheme/drscheme-4.0.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/drscheme/drscheme-4.0.2.ebuild?rev=1.1&content-type=text/plain
Index: drscheme-4.0.2.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/drscheme-4.0.2.ebuild,v 1.1 2008/07/05 10:21:49 hkbst Exp $
inherit eutils latex-package
SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz
http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz"
#"mirror://gentoo/plt-${PV%%_p*}-src-unix.tgz"
DESCRIPTION="DrScheme programming environment. Includes mzscheme."
HOMEPAGE="http://www.plt-scheme.org/software/drscheme/"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="backtrace cairo llvm opengl profile X"
RDEPEND="X? ( x11-libs/libICE
x11-libs/libSM
x11-libs/libXaw
>=x11-libs/libXft-2.1.12
x11-libs/libXrender
media-libs/freetype
media-libs/fontconfig
cairo? ( x11-libs/cairo )
media-libs/jpeg
opengl? ( virtual/opengl )
media-libs/libpng )"
DEPEND="${RDEPEND} !dev-tex/slatex"
S="${WORKDIR}/plt-${PV%%_p*}"
pkg_setup() {
if use cairo; then
if ! built_with_use cairo X; then
eerror "Cairo must be built with X use flag"
die "Cairo must be built with X use flag"
fi
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
sed "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," -i src/configure
epatch "${FILESDIR}/${PN}-372-as_needed.patch"
}
src_compile() {
cd src
# according to vapier, we should use the bundled libtool
# such that we don't preclude cross-compile. Thus don't use
# --enable-lt=/usr/bin/libtool
econf $(use_enable X mred) \
--enable-shared \
--disable-perl \
$(use_enable backtrace) \
$(use_enable cairo) \
$(use_enable llvm) \
$(use_enable opengl gl) \
$(use_enable profile gprof) \
--enable-xft \
--enable-xrender
emake || die "emake failed"
}
src_install() {
# deal with slatex
insinto /usr/share/texmf/tex/latex/slatex/
doins collects/slatex/slatex.sty
cd src
export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags)
if use cgc; then
emake DESTDIR="${D}" install-both || die "emake install-both failed"
else
emake DESTDIR="${D}" install || die "emake install failed"
fi
if use X; then
newicon ../collects/icons/PLT-206.png drscheme.png
make_desktop_entry drscheme "DrScheme" drscheme "Development"
fi
}
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-05 10:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-05 10:21 [gentoo-commits] gentoo-x86 commit in dev-scheme/drscheme: drscheme-4.0.2.ebuild Marijn Schouten (hkbst)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox