diff options
author | Amy Winston <amynka@gentoo.org> | 2016-03-21 09:38:58 +0100 |
---|---|---|
committer | Amy Winston <amynka@gentoo.org> | 2016-03-21 09:41:00 +0100 |
commit | bba8cd02f6a1f3a7cf264dc0a12603b08ffc4c89 (patch) | |
tree | c4c81b151bb285e1ea84ba5a84757747c83fd91c /dev-scheme/racket | |
parent | dev-scheme/racket: description changed (diff) | |
download | gentoo-bba8cd02f6a1f3a7cf264dc0a12603b08ffc4c89.tar.gz gentoo-bba8cd02f6a1f3a7cf264dc0a12603b08ffc4c89.tar.bz2 gentoo-bba8cd02f6a1f3a7cf264dc0a12603b08ffc4c89.zip |
dev-scheme/racket: version bump 6.4 bug #567358
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-scheme/racket')
-rw-r--r-- | dev-scheme/racket/Manifest | 2 | ||||
-rw-r--r-- | dev-scheme/racket/racket-6.4.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest index 6a95b0cebe19..557d6c289790 100644 --- a/dev-scheme/racket/Manifest +++ b/dev-scheme/racket/Manifest @@ -1,5 +1,7 @@ DIST racket-5.3.6-src-unix.tgz 19278914 SHA256 7fe0ffc1231f888cd481f175e428f0217257dd136d2513bde73954af5a7cfb8a SHA512 08e8b599e800f41c9497b07e163ed43ae02ae9d9bcc3e20da31eb2f6aa20aa4b0071db51e93696ae1bd644ddfa1c3aea587a334db24ced4a3654dcf5da138e8f WHIRLPOOL c2c34de08d0ec9942f040cc23ea7f2a9bb743d0dcc7125e1b5336b0845482e67abd46b1b5cb821e898c3db50767312f3a27e386a0b7046bf068feb23a1b1bf52 DIST racket-6.0.1-src-builtpkgs.tgz 101425779 SHA256 2b5f2bccb21d408041e167a4476115075c3b230ab50e1d66fe1a3c0ab205bfa1 SHA512 b51fade0afa33b11c4be7da8aec910a8b33bb1cc097748362ecc342b3cd50dcd1c6c52c68c3485b91bddd74a15f8767d357d911151c8cd263a0caa5d72a888a5 WHIRLPOOL d7944c7e1851bb48cc08c29d93763fb0c269ecbc33b59e02bbd6fc1592287376434c0c8c87bada29289d235d7816420170bc6c0f12f684eb9a32a7508342ce0b DIST racket-6.2.1-src-builtpkgs.tgz 113159311 SHA256 04429315159d86c71037e4c1157a724476065803e32346abc0ee37708aed0fcd SHA512 1776e22412d37de69019147e670c88b015d31c31c654cc647ee6598588e94cad32b8d52e4d1738febe3ed47aaf1dc89c5db03878a0e3a4baff75dab302c2a294 WHIRLPOOL 9de2f3068061b13067c6e05289ae6ca233c9c0a90ef639a6e9853df5deb9e1358f2609e712e472312bd599a0cbe79973c4525c5fa99bbc9cd59837d674498b68 +DIST racket-6.4-src-builtpkgs.tgz 120269476 SHA256 5feb8279d9b3b1adf8642714dcb4cb8514832cb17135174be8733b92e1a0078a SHA512 58ef8a27afe61a44ee65f00a1096dbbb833f5d2e8a1fddd1dd4a250164031358216c88c21ef6b9a3a84996a4317338175301493511c49e92a80135653af8159c WHIRLPOOL 9e4258bd2cdb1758546db7e149a8c3429f43f3fd71cafabb6fb3d7012098d56e68420bf743571adfd9082639da5455e4dbe98baa64a50746e5969af20b906378 DIST racket-minimal-6.0.1-src-builtpkgs.tgz 9139061 SHA256 f58aa4e3e831417b72d5c19aba20a5b0eaa1111af2f1afa3096b0a4e83b860a3 SHA512 99c7ecf5d7e1de40358a03a5878271e2864fa9e6fe11bab71bd68784bd058a2edbb4ec65ba455dbff2a943c78ec0f9a9b0f46b1532fc1b55be500593160da313 WHIRLPOOL bc3dc19d8c23129866adeb71d125314d66ce2e505d1a453f26c09e9aa42bc98626cba2ddb87d8ae53c7ad5939443defc88c4f1c4ce174567a01b1f56be9788ea DIST racket-minimal-6.2.1-src-builtpkgs.tgz 9736885 SHA256 47eceb5f23ab66a939650fa44dd89ffcb17a6227f58c6bc80e90aa8999c86b36 SHA512 048f247136b15c2b118f497e9058a34dc7135ad4fbe707345290238e1268dd72e0ba35d3fd1690d0f9e97e56748f8964eb80c23c6be278bc6e5e819414c0d4a9 WHIRLPOOL 3c475a8204cea6c802043f4e823d2b1cdc50055ebc3288768988d5e3bf8e502b32300228360603743a9b1d065a845bb1e22d12e4b0fe79a4a6132e2ba335be53 +DIST racket-minimal-6.4-src-builtpkgs.tgz 10880010 SHA256 cf717d4983f4198fce8973ead5d427bc9da78b73bd51fee16b58c894c2a146e8 SHA512 7ff59dcfe97e96d1d8a22b2cfcc28e32833742dae93839d0bcd80a43ff3834a02128681f9b9adab0f66ae99745f3b6cf87f6fa39f71f9a288f14cf22e6cc4629 WHIRLPOOL 74633074ed9f44e4c99c2eb0808ee393c8dbc66f84f2c9787ad1ab359bb4c60b3cda86a858d08fabe38680a8fe42e5f856c8baab780e9847aa3a2eb0fb1e0158 diff --git a/dev-scheme/racket/racket-6.4.ebuild b/dev-scheme/racket/racket-6.4.ebuild new file mode 100644 index 000000000000..2cd5718d0296 --- /dev/null +++ b/dev-scheme/racket/racket-6.4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" +DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family." +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() { + emake DESTDIR="${D}" install + + #racket now comes with desktop files, but DESTDIR is mishandled + for f in /usr/share/applications/{drracket,slideshow}.desktop; do + sed -e "s|${D}||g" \ + -i "${D}/${f}" || die "Failed to patch '${f}'" + done +} |