diff options
author | 2019-07-14 15:15:53 +0200 | |
---|---|---|
committer | 2019-07-14 15:15:53 +0200 | |
commit | 90e65320eab192fb66e35569cea5a8c8704da16c (patch) | |
tree | 8c4f2866891c92f8cba269818c0b23b57c94b4fc /dev-scheme | |
parent | dev-scheme/guile: Add 2.2.6 SLOT=2.2 + patches (diff) | |
download | lisp-90e65320eab192fb66e35569cea5a8c8704da16c.tar.gz lisp-90e65320eab192fb66e35569cea5a8c8704da16c.tar.bz2 lisp-90e65320eab192fb66e35569cea5a8c8704da16c.zip |
dev-scheme/gambit: Add 4.9.3 and 9999 versions
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/gambit/Manifest | 9 | ||||
-rw-r--r-- | dev-scheme/gambit/gambit-4.6.6-r1.ebuild | 74 | ||||
-rw-r--r-- | dev-scheme/gambit/gambit-4.6.6-r2.ebuild | 98 | ||||
-rw-r--r-- | dev-scheme/gambit/gambit-4.6.6.ebuild | 53 | ||||
-rw-r--r-- | dev-scheme/gambit/gambit-4.9.3.ebuild | 63 | ||||
-rw-r--r-- | dev-scheme/gambit/gambit-9999.ebuild | 62 | ||||
-rw-r--r-- | dev-scheme/gambit/metadata.xml | 11 |
7 files changed, 133 insertions, 237 deletions
diff --git a/dev-scheme/gambit/Manifest b/dev-scheme/gambit/Manifest index d3d05bcc..e38e2517 100644 --- a/dev-scheme/gambit/Manifest +++ b/dev-scheme/gambit/Manifest @@ -1,6 +1,5 @@ AUX 50gambit-gentoo.el 386 BLAKE2B bf791e4b89573dcc5a4da472cb198dc9fb5f43f88f420089ffe543016e4f8483fc3a5ad4e1f7752d6a6d5a006556b268bd1a7360afc470c436fec96156b2e13d SHA512 acf956bd70c176b4cccbdab2dd1611ef5a30b7899d51b32341509168fdac52312f0f543c5c519ed005049a2e40d9dcfc67284adaebedd9a781fe12a3ea974e97 -DIST gambc-v4_6_6.tgz 10738338 BLAKE2B 974cf92cae4ca747bb246326ab27c2396c1074d0d0befa0a0dd999237add0b01acafbd261fe6d456b1a4280d48e5e1622cfc659144ba50dac5ede6979bbb5e1a SHA512 3ecb2a8c32d7b6be29bf1847ffb7aea8b1160ea4702e0a6542ea9212e4435ccc827e53f7c86d386d3d3f2e5596a6ccb245d2f2a55b235af7a8ed519b2294584b -EBUILD gambit-4.6.6-r1.ebuild 1844 BLAKE2B 6e6834dc58dbfa2b828a50dc909f2476b70e4b247db7ef1bce5486fd2b7265e2776defc9bbe57fe9037d514db28af3bfc4fc62b904e0c83ebf410f1f88173479 SHA512 967071988f2c996043b267169303e0bd134786c8b459fe1b75760892a86c8255ec97e902be89434741a2ba442c68ed1ec0ea643d14738c3c885adf8fb594c327 -EBUILD gambit-4.6.6-r2.ebuild 2392 BLAKE2B c5306d971666497cef28f407d73dadf81c06fe7c874d40c79b42528298c67ff1f8aac20ffccd4eb40db2a512bd82749591ebdd8cac52cab14c28c4d015a7337b SHA512 77b1dd52ac3e1806616a43b7a1e581d2433d49e177e6b1ef7d78c6ceff8d8068ad882d78c0abd0dc7667726407db0344c3b4eed40b95a7ac05b3ee0d691dafea -EBUILD gambit-4.6.6.ebuild 1159 BLAKE2B 1e93e5923ce8308a3d4e7528abe1ee6936a41992306a26d152a2a4ee45cd62ff8ef041de1985c16bbbfdaf1dfb7a0fa22c1e8b8332019237f801567db8d00e40 SHA512 86fe827c36afa26c5cfcd431908930ac198425758896f1038f0e32f46ff6538ee10e6041729ce15166f8f6ef0bc378ed65a72759fd68e293def3c60942e6419d -MISC metadata.xml 301 BLAKE2B b5ee774c8f9a66a9094bb7d60f603d0aa9b04f165cb6f41cba7d12ae43dc6f35ab882f8649762bc3c97971a3ed34a3cc6fb3d205da947ccf7fa3ae74d1565898 SHA512 cb9feea30ae8718cf48c0fb3a529f3103d19429204fffb69826bb28ffc2b0307c5c433b1dfe8eb5cb604d12c994e07405ed7d74c1acd770434503e9c33c7c502 +DIST gambit-v4_9_3.tgz 13736448 BLAKE2B 664e90e3cc2419aa07264ac84abf0aacce43fd2339a72dc502745961a56097b6c161a89d12faa4b88a95841b8d45e37c199438d3fa8b9914db431406cc2d0e4b SHA512 0ee8eb5a2a0b63c0250f4d8d5bcf71d7c57b7444bf1a4c31c084fc9aef6f7932bf607a0a0b835987e7ada3a995cf732cc46593eb4b9dd79fc918358c57c4285f +EBUILD gambit-4.9.3.ebuild 1289 BLAKE2B a48adc0ddd8a4fc1932f4899f5e2fe49989c3164074e6316b1b9de83712fed0b841f22b141c406619105e3718954e53da430fb0f7d76f80a35598f8663adacad SHA512 b3b35c451b8e9eb87e6ab29473f11790a9ec22a33f4a21d8cd00c88af0fcf23403f770f50d58450458dfc3082523037c6fb425349349cc94d73b008b8b025512 +EBUILD gambit-9999.ebuild 1280 BLAKE2B c7d78aff3d44327564d9802e1cbdf8281b6e8deb91614cc48d3760fbab8371dde00a557b28b00dc117f93ec4a1bc31afa65f02dee3928e7eaf8ea3ddce6ecedb SHA512 3b125a23260f6d7107f5865ebf16c1305d974bc3a9c6f12538f1f078884ce9a9186a4a04ec6f282a74cfe545e89d8396e2b4471995bbe57db9945d2d604107a0 +MISC metadata.xml 251 BLAKE2B 192529903b8f966db2ab52ecc2ca58c2f5d3a18686c070e272a275ab2cb877103675fdf3ed443d4294a78979f7d3afdf53d07d56ffa36247969d480bffb23e9a SHA512 4fda90c4191ba8ea396da2c4a434893d4b9df976a918e4fb5651acaf92c6efc9103b738681a3d29abe801a4ad09eecf5a4b0bd799dab5b5f1e42a34c3b27d918 diff --git a/dev-scheme/gambit/gambit-4.6.6-r1.ebuild b/dev-scheme/gambit/gambit-4.6.6-r1.ebuild deleted file mode 100644 index 5fb8582d..00000000 --- a/dev-scheme/gambit/gambit-4.6.6-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" - -inherit eutils elisp-common - -MY_PN=gambc -MY_PV=${PV//./_} -MY_P=${MY_PN}-v${MY_PV} - -DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter." -HOMEPAGE="http://www.iro.umontreal.ca/~gambit/" -SRC_URI="http://www.iro.umontreal.ca/~gambit/download/gambit/v${PV%.*}/source/${MY_P}.tgz" - -LICENSE="|| ( Apache-2.0 LGPL-2.1 )" -SLOT="0" -#KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos" -KEYWORDS="" - -DEPEND="emacs? ( virtual/emacs )" -RDEPEND="" - -SITEFILE="50gambit-gentoo.el" - -S=${WORKDIR}/${MY_P} #-devel - -IUSE="emacs static gbootstrap" - -# 13Nov12 pchrist -# To check before this hits the tree: -# 1. what bootstrap target actually does -# 2. whether gboostrap use flag is ok to be used as local use flag -# 3. Doc, what is going on there, what if latex is not installed, -# what if pdf2ps is not installed etc. -# 4. more testing on configure flags -# 5. there is -O1 optimization flag, probably disables user's CFLAGS , bad -# 6. check if emacs configuration is correct - -src_configure() { - #echo "------"; - #echo $USE; - #echo "------"; - #die; - econf $(use_enable !static shared) --docdir="${EPREFIX}"/usr/share/doc/${PF} --enable-single-host --disable-absolute-shared-libs -} - -src_compile() { - #emake bootstrap || die - emake || die "emake failed" - - if use gbootstrap; then - emake bootstrap || die "emake bootstrap failed" - emake bootclean || die "emake bootclean failed" - emake || die "emake failed the second time" - fi - - if use emacs; then - elisp-compile misc/*.el || die "failed to compile elisp files" - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/dev-scheme/gambit/gambit-4.6.6-r2.ebuild b/dev-scheme/gambit/gambit-4.6.6-r2.ebuild deleted file mode 100644 index f4bfe680..00000000 --- a/dev-scheme/gambit/gambit-4.6.6-r2.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" - -inherit eutils elisp-common - -MY_PN=gambc -MY_PV=${PV//./_} -MY_P=${MY_PN}-v${MY_PV} - -DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter." -HOMEPAGE="http://www.iro.umontreal.ca/~gambit/" -SRC_URI="http://www.iro.umontreal.ca/~gambit/download/gambit/v${PV%.*}/source/${MY_P}.tgz" - -LICENSE="|| ( Apache-2.0 LGPL-2.1 )" -SLOT="0" -#KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos" -KEYWORDS="" - -DEPEND="emacs? ( virtual/emacs ) - doc? ( sys-apps/texinfo )" -RDEPEND="" - -SITEFILE="50gambit-gentoo.el" - -S=${WORKDIR}/${MY_P} #-devel - -IUSE="emacs static gbootstrap debug noopts doc" - -# 13Nov12 pchrist -# To check before this hits the tree: -# 1. what bootstrap target actually does -# 2. whether gboostrap use flag is ok to be used as local use flag -# 3. Doc, what is going on there, what if latex is not installed, -# what if pdf2ps is not installed etc. -# 4. more testing on configure flags -# 5. there is -O1 optimization flag, probably disables user's CFLAGS , bad -# 6. check if emacs configuration is correct - -src_configure() { - #echo "------"; - #echo $USE; - #echo "------"; - #die; - local t=$(tc-getCC); - local tt="${t##*-}" - [[ "${tt}" == "gcc" ]] && echo yes || echo no - econf \ - $(use_enable !static shared) \ - $(use_enable debug) \ - $(use_enable debug profile) \ - $(use_enable debug coverage) \ - $([[ "${tt}" == "gcc" ]] \ - && use !noopts \ - && echo \ - "--enable-gcc-opts \ - --enable-c-opt" \ - || echo \ - "--disable-gcc-opts \ - --disable-c-opt") \ - --docdir="${EPREFIX}"/usr/share/doc/${PF} \ - --enable-single-host \ - --disable-absolute-shared-libs -} - -src_compile() { - #emake bootstrap || die - - if use gbootstrap; then - einfo "Starting bootstrap..." - emake bootstrap || die "emake bootstrap failed" - einfo "Cleaning..." - emake bootclean || die "emake bootclean failed" - einfo "Compiling in normal mode." - emake || die "emake failed the second time" - else - einfo "Compiling in normal mode." - emake || die "emake failed" - fi - - if use emacs; then - elisp-compile misc/*.el || die "failed to compile elisp files" - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/dev-scheme/gambit/gambit-4.6.6.ebuild b/dev-scheme/gambit/gambit-4.6.6.ebuild deleted file mode 100644 index 0d1cfba7..00000000 --- a/dev-scheme/gambit/gambit-4.6.6.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" - -inherit eutils elisp-common - -MY_PN=gambc -MY_PV=${PV//./_} -MY_P=${MY_PN}-v${MY_PV} - -DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter." -HOMEPAGE="http://www.iro.umontreal.ca/~gambit/" -SRC_URI="http://www.iro.umontreal.ca/~gambit/download/gambit/v${PV%.*}/source/${MY_P}.tgz" - -LICENSE="|| ( Apache-2.0 LGPL-2.1 )" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos" - -DEPEND="emacs? ( virtual/emacs )" -RDEPEND="" - -SITEFILE="50gambit-gentoo.el" - -S=${WORKDIR}/${MY_P} #-devel - -IUSE="emacs static" - -src_configure() { - econf $(use_enable !static shared) --docdir="${EPREFIX}"/usr/share/doc/${PF} --enable-single-host --disable-absolute-shared-libs -} - -src_compile() { - #emake bootstrap || die - emake || die "emake failed" - - if use emacs; then - elisp-compile misc/*.el || die "failed to compile elisp files" - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/dev-scheme/gambit/gambit-4.9.3.ebuild b/dev-scheme/gambit/gambit-4.9.3.ebuild new file mode 100644 index 00000000..54ac8e39 --- /dev/null +++ b/dev-scheme/gambit/gambit-4.9.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit elisp-common + +MY_P="${PN}-v$(ver_rs 1-3 _)" + +DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter" +HOMEPAGE="http://gambitscheme.org/wiki/index.php/Main_Page" +SRC_URI="http://www-labs.iro.umontreal.ca/~gambit/download/gambit/v$(ver_cut 1-2)/source/${MY_P}.tgz" + +LICENSE="|| ( Apache-2.0 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos" + +RDEPEND="ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND=" + ${RDEPEND} +" +BDEPEND="emacs? ( virtual/emacs )" + +SITEFILE="50gambit-gentoo.el" + +IUSE="emacs libressl ssl static" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + econf \ + $(use_enable !static shared) \ + $(use_enable ssl openssl) \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --enable-gnu-gcc-specific-options \ + --enable-gnu-gcc-no-strict-aliasing \ + --enable-single-host \ + --disable-absolute-shared-libs \ + --enable-type-checking +} + +src_compile() { + emake + + if use emacs; then + elisp-compile misc/*.el || die + fi +} + +src_install() { + emake DESTDIR="${D}" install +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-scheme/gambit/gambit-9999.ebuild b/dev-scheme/gambit/gambit-9999.ebuild new file mode 100644 index 00000000..d9a71730 --- /dev/null +++ b/dev-scheme/gambit/gambit-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils elisp-common git-r3 + +MY_P="${PN}-v$(ver_rs 1-3 _)" + +DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter" +HOMEPAGE="http://gambitscheme.org/wiki/index.php/Main_Page" +#SRC_URI="http://www-labs.iro.umontreal.ca/~gambit/download/gambit/v$(ver_cut 1-2)/source/${MY_P}.tgz" +EGIT_REPO_URI="https://github.com/gambit/gambit.git" + +LICENSE="|| ( Apache-2.0 LGPL-2.1 )" +SLOT="0" +KEYWORDS="" + +RDEPEND="ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND=" + ${RDEPEND} +" +BDEPEND="emacs? ( virtual/emacs )" + +SITEFILE="50gambit-gentoo.el" + +IUSE="emacs libressl ssl static" + +src_configure() { + econf \ + $(use_enable !static shared) \ + $(use_enable ssl openssl) \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --enable-gnu-gcc-specific-options \ + --enable-gnu-gcc-no-strict-aliasing \ + --enable-single-host \ + --disable-absolute-shared-libs \ + --enable-type-checking +} + +src_compile() { + emake + + if use emacs; then + elisp-compile misc/*.el || die + fi +} + +src_install() { + emake DESTDIR="${D}" install +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-scheme/gambit/metadata.xml b/dev-scheme/gambit/metadata.xml index b7d9243f..8703fdc6 100644 --- a/dev-scheme/gambit/metadata.xml +++ b/dev-scheme/gambit/metadata.xml @@ -1,11 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>scheme</herd> -<use> - <flag name='gbootstrap'>Rebuild some C sources</flag> -</use> -<use> - <flag name='noopts'>Disable upstream's optimizations</flag> -</use> +<maintainer type="project"> + <email>scheme@gentoo.org</email> + <name>Gentoo Scheme Project</name> +</maintainer> </pkgmetadata> |