parent
6d41682f84
commit
d93ae41f2d
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/racket/racket-6.0.1.ebuild,v 1.1 2014/07/09 11:02:29 gienah Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# for live ebuilds uncomment inherit git-2, comment SRC_URI and empty KEYWORDS
|
||||
|
||||
inherit eutils pax-utils
|
||||
#inherit git-2
|
||||
|
||||
DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages."
|
||||
HOMEPAGE="http://racket-lang.org/"
|
||||
SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
|
||||
#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
|
||||
EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc +futures +jit minimal +places +threads +X"
|
||||
REQUIRED_USE="futures? ( jit )"
|
||||
|
||||
# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
|
||||
RDEPEND="dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
EGIT_SOURCEDIR="${WORKDIR}/${P}"
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
src_prepare() {
|
||||
#remove bundled libraries
|
||||
rm -rf foreign/libffi/
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# 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 gracket) \
|
||||
$(use_enable doc docs) \
|
||||
--enable-shared \
|
||||
$(use_enable jit) \
|
||||
--enable-foreign \
|
||||
$(use_enable places) \
|
||||
$(use_enable futures) \
|
||||
$(use_enable threads pthread)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use jit; then
|
||||
pushd racket
|
||||
emake cgc
|
||||
pax-mark m .libs/racketcgc
|
||||
emake 3m
|
||||
pax-mark m .libs/racket3m
|
||||
popd
|
||||
fi
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#racket now comes with desktop files, but DESTDIR is mishandled
|
||||
for f in /usr/share/applications/{drracket,slideshow}.desktop; do
|
||||
sed -ie "s|${D}||" "${D}/${f}"
|
||||
done
|
||||
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
@ -1 +1 @@
|
||||
Wed, 09 Jul 2014 10:07:01 +0000
|
||||
Wed, 09 Jul 2014 11:37:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed, 09 Jul 2014 10:07:01 +0000
|
||||
Wed, 09 Jul 2014 11:37:01 +0000
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare
|
||||
DEPEND=dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi
|
||||
DESCRIPTION=Racket is a general-purpose programming language with strong support for domain-specific languages.
|
||||
EAPI=5
|
||||
HOMEPAGE=http://racket-lang.org/
|
||||
IUSE=doc +futures +jit minimal +places +threads +X
|
||||
KEYWORDS=~amd64 ~arm ~x86
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi
|
||||
REQUIRED_USE=futures? ( jit )
|
||||
SLOT=0
|
||||
SRC_URI=minimal? ( http://download.racket-lang.org/installers/6.0.1/racket-minimal-6.0.1-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/6.0.1/racket-6.0.1-src-builtpkgs.tgz )
|
||||
_eclasses_=eutils 76fc3c462065bb4ca959f939e6793f94 multilib fac675dcccf94392371a6abee62d909f pax-utils 2424f959506320f5196de8f79fa05297 toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=145aede1b65c88c1af14e96675158a6b
|
@ -1 +1 @@
|
||||
Wed, 09 Jul 2014 10:07:04 +0000
|
||||
Wed, 09 Jul 2014 11:37:04 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed Jul 9 10:07:01 UTC 2014
|
||||
Wed Jul 9 11:37:01 UTC 2014
|
||||
|
@ -1 +1 @@
|
||||
Wed, 09 Jul 2014 10:30:01 +0000
|
||||
Wed, 09 Jul 2014 12:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1404900301 Wed 09 Jul 2014 10:05:01 AM UTC UTC
|
||||
1404905701 Wed 09 Jul 2014 11:35:01 AM UTC UTC
|
||||
|
Loading…
Reference in new issue