diff options
author | Erik Falor <ewfalor@gmail.com> | 2014-06-30 21:49:24 -0600 |
---|---|---|
committer | Chema Alonso Josa <nimiux@gentoo.org> | 2018-03-09 22:33:42 +0100 |
commit | ae635f76d9616721a102141dd2fde8c72bd6139c (patch) | |
tree | ccbd166cd1fd3c54d957dc056578278128d017bd /dev-scheme | |
parent | dev-lisp/cl-glfw: add missing dependency (diff) | |
download | lisp-ae635f76d9616721a102141dd2fde8c72bd6139c.tar.gz lisp-ae635f76d9616721a102141dd2fde8c72bd6139c.tar.bz2 lisp-ae635f76d9616721a102141dd2fde8c72bd6139c.zip |
dev-scheme/chibi-scheme: bump to version 0.7
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/chibi-scheme/Manifest | 4 | ||||
-rw-r--r-- | dev-scheme/chibi-scheme/chibi-scheme-0.7.ebuild | 68 |
2 files changed, 70 insertions, 2 deletions
diff --git a/dev-scheme/chibi-scheme/Manifest b/dev-scheme/chibi-scheme/Manifest index dcc4625f..7bd10a94 100644 --- a/dev-scheme/chibi-scheme/Manifest +++ b/dev-scheme/chibi-scheme/Manifest @@ -1,4 +1,4 @@ -DIST chibi-scheme-0.2.tgz 47271 SHA256 3d1e4ecf4d74517fa64dbc6dc7ed7ba9f1d7a323daaa197058c8f6fc8243dc91 DIST chibi-scheme-0.6.1.tgz 592543 SHA256 17f2fff81f0acb529eb672d0abff98872714024661e400a93b459984354927b9 SHA512 1a3597635c3f3a5bb80390b8decdb1952c9042cba04b523aed4ca1c0e6053846674a65ce60234547d8e20474085b3c9c4abb3ecd24d87176ee29cc51f0cab4fd WHIRLPOOL f7137b44ab8fe61e74f47ae3c696de60cf2dcf650f0b4f19f7c03f23b000972548c9e799c17df257201a0925f3a9825832e214c207eb2274123892b24419327f -EBUILD chibi-scheme-0.2.ebuild 1089 SHA256 7406c80f4887552e8ade8d36b2d86fe52734b1f918e579fabd25b89bb84c0c9a SHA512 9632bf5c4f195d0bb487a3ac0510d8511c42996d60f700b8fbc20d7ce6256c17c88d1d357fd6344cb109d8d45a7e7cf2c3477ad642d6a80875e81e5524f56888 WHIRLPOOL 4d4b6553057304da490bef52d0adff3d67e4c7942c3b26becca9e87b8539cb9e888f25889ec1670b93fc85bfd728cf567884e7959a54b654a9b9758e476d9847 +DIST chibi-scheme-0.7.tgz 513684 SHA256 159f3d41e560ae1cd2cec72d1183d53a86f9aec9c71bb33b1111c50727c013c2 SHA512 61884a7ec5c404f83dffb97f5f506cd8e8878ed9d8ded6610f027b431fdeae36518664c9d8e2e6be2da91dbc3280b611e8d35ede9c96a6381468bb611b2deb2b WHIRLPOOL d9ed9cb8e278a780531fbeb4337cddd816bd6d8319b5db15ca95b2afaddaf27ffa9103196a1c832b584ee8df5716521202aa7bb7e0797d2e170fcf38bb229820 EBUILD chibi-scheme-0.6.1.ebuild 2111 SHA256 430312b5f96992eff36a32c423d8313f7d8999af837476b32c126d6cc1042476 SHA512 e8b106b1f52de395565c73d27f99a0be7b734f5fc9bc17ac02da6c2feb777d146f33e58021d1dd942d127c951058c24f80404faa2d40992144b3319552a0b101 WHIRLPOOL b281b64698644d88cfcea440cb31a90763639e492f7991ded927066e71f8dcc21b8f980852ff30df481c7941b82315cd3395183cc2ab39ae87b7f553cdab6e0c +EBUILD chibi-scheme-0.7.ebuild 2261 SHA256 ab09262d42f49227f711b1e7059126d0b568f44a9bea963c540ed48f4aeb6fe1 SHA512 03003995bbb180cb000e58b44e0bbdbff129e4c191a0d5bab6ca8589c972e35fea305aa69dcc18a3833c4d0aa25a372b3ab9835f8f3d73b38708630da7cdacfd WHIRLPOOL b44f4e83fc5f012831fc959becd5499257e5e33400192172cdb89820e3814c030ba3b5a384168d5d441807a12f57ea5bd90064124ec696e06816746e7884be4e diff --git a/dev-scheme/chibi-scheme/chibi-scheme-0.7.ebuild b/dev-scheme/chibi-scheme/chibi-scheme-0.7.ebuild new file mode 100644 index 00000000..fac42909 --- /dev/null +++ b/dev-scheme/chibi-scheme/chibi-scheme-0.7.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +DESCRIPTION="A very tiny Scheme implementation with decent speed and native hygienic macros." +SRC_URI="http://abrek.synthcode.com/${P}.tgz" +HOMEPAGE="http://synthcode.com/scheme/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="boehm-gc" + +DEPEND="boehm-gc? ( dev-libs/boehm-gc )" +RDEPEND="${DEPEND}" + +export EXTRA_EMAKE+="PREFIX=/usr $(use boehm-gc && echo SEXP_USE_BOEHM=1)" + +src_prepare() { + # Upstream uses a D variable in its Makefile which conflicts with + # the variable predifined by ebuild D="${PORTAGE_BUILDDIR}/image" + sed 's,\([^[:alpha:]]\)D\([^[:alpha:]]\),\1chibiD\2,' -i Makefile \ + || die "sed Makefile failed" + + # Upstream calls ldconfig in the install target, which goes outside + # of the ebuild Sandbox. We'll call ldconfig ourselves after merging + # the package. + sed '/ldconfig/d' -i Makefile \ + || die "sed Makefile failed" + + # Incorporate local system's LDFLAGS into the chibi-scheme executable + sed 's/$(CC) $(XCPPFLAGS) $(XCFLAGS) -o $@ $< -L. -lchibi-scheme/& $(LDFLAGS)/' -i Makefile \ + || die "sed Makefile failed" + + # Incorporate local system's LDFLAGS into the chibi-scheme executable + sed 's/$(CC) $(XCPPFLAGS) $(XCFLAGS) -o $@ $< -L. -lchibi-scheme/& $(LDFLAGS)/' -i Makefile \ + || die "sed Makefile failed" + + # Set SONAME in libchibi-scheme.so + sed '/^libchibi-scheme/{ n; s/$(CC) $(CLIBFLAGS) -o $@ $^ $(XLDFLAGS)/& -Wl,-soname,libchibi-scheme.so/}' -i Makefile \ + || die "sed Makefile failed" + + # Incorporate local system's LDFLAGS into Chibi's compiled modules + sed 's/$(CC) $(CLIBFLAGS) $(XCPPFLAGS) $(XCFLAGS) -o $@ $< -L. $(XLIBS) -lchibi-scheme/& $(LDFLAGS)/' -i Makefile.libs \ + || die "sed Makefile.libs failed" + + # Force soname symlinks to be relative to installation directory + sed 's/$(LN) -s -f /$(LN) -s -f -r /' -i Makefile \ + || die "sed Makefile failed" + +} + +# When the number of jobs > 1, the Makefile lets things get ahead of themselves +# and sometimes later targets will fail because libchibi-scheme.so doesn't yet +# exist. +src_compile() { + emake -j1 +} + +src_test() { + LD_LIBRARY_PATH="${S}" emake test +} + +src_install() { + emake DESTDIR="${D}" ${EXTRA_EMAKE} install +} |