summaryrefslogtreecommitdiff
path: root/dev-scheme/slib
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme/slib')
-rw-r--r--dev-scheme/slib/Manifest4
-rw-r--r--dev-scheme/slib/slib-3.2.1.ebuild129
-rw-r--r--dev-scheme/slib/slib-3.2.2.ebuild130
3 files changed, 0 insertions, 263 deletions
diff --git a/dev-scheme/slib/Manifest b/dev-scheme/slib/Manifest
index 4b263a1890bd..c0527c5d5088 100644
--- a/dev-scheme/slib/Manifest
+++ b/dev-scheme/slib/Manifest
@@ -2,10 +2,6 @@ AUX 50slib 39 BLAKE2B a7e221f173cfc2b24c72f047130e6b4c289533a22dc7d59fca49a147ed
AUX slib-3.2.2-fix-texinfo.awk 1615 BLAKE2B 009e928700eaa5cd13dae27af10095cc10eabf4379e962f3c3f77c566a70fd7ec086b4713d5629941169d40c62527d55d63a977d5669a15b91e3ca9183fe558a SHA512 793b50b9678e5d29465e29fc00348df0357310cb10b5a9446397a11f21c30d885a6bbc92577ebd7c9ae82ac07081baa08692a80c4d0b0738020f01c57a7e128e
AUX slib-3.2.5-fix-makefile-guile.patch 882 BLAKE2B 6e9c80b476cafa24477aae5b30e8c35f116cfbd0261f06b15672e39cc94e2ef6cb116104a41e5c0f1ebcb887664d9f43ec6c5b21ab3286d5a33c56d081ca9a4b SHA512 74997578edd5472f084a3b899c4e11b67432a4776bce6a19cbd4300316bf413f38374711a9a5cd3c10cd6cac01cb6d337d6f2ad18236bc4747c0bccf88948e3a
AUX slib-3.2.5-fix-paths.patch 1627 BLAKE2B bea0c823ca1f4e006953128cb5fe2886f5e84efbcf2d1ee32c801524d3bbbaf65899853c476697b501673501b112e7bd9382f7e372d27745cd190d3fa66a0bd4 SHA512 bdd667f20ca0ef57707a4df379186b58ef5ffab38e61a7e8e4ef697d7a90ebbafa8e4ca1f887d87520290656f2445fe1a9f4bd4e22634587908f70059dde0f30
-DIST slib-3b1.zip 1063227 BLAKE2B 09207ec3dec2a1166f6cf71e7fa7687a47a5969a51f1aadebc1913df20b388383b4a400f81e96f1dfad386b98fc540019676e86b786b92c9d952d8f13d0eba0a SHA512 28eb997a094cfb0a97eb924ed7bd965bb094db773343529f1593446b507908ccdec3086c6ce0b6b938a9742ed84bd8f5f36b14911296549660cc4b301f84c977
-DIST slib-3b2.zip 1067021 BLAKE2B 1b48969ca2d0070efa596cca0a310d5cfce0b6eaa04e4e7778bfab033ba534e56cc575f24aeb512651ac71a38ba5bc10e7b23de3bdc70bb5cce391d8da32fa47 SHA512 199b5ddaffd1213dd144dc7f60de020029586babc83f702830d95a0d387c4f1aad9fcbe1603c0f8d4351e0ec1650fad745fd463a56c3bb86394e81eadae6afd5
DIST slib-3b5.tar.gz 987735 BLAKE2B ad1e6e43885a16277d01f37582db7de068f21da5e10b23e034f5487ac8748303dcc9c12615884ee047dce7c246203f1d0d1cc375794371eae6854199d720c209 SHA512 e5d1210b70cd882cd5e810b3c4102d6060ec82fb2093f472bf31b597f6273e0a02f4d35a82c4b5c8cdc3f8b2c7b9e498fa3e35c7f265fa864cd9dc50e7a874c8
-EBUILD slib-3.2.1.ebuild 3861 BLAKE2B ca50ee84c84163761c49a02f00a54ca9b6d1e520befcc597ba503563a6041eb502e714ba0f6a371d60a0c5dd33e7383d2ed05eb51d10a5867c19059429d06c0d SHA512 032eddda11b6d5f196f7ebc77f5cd0c3d0c33489470e1bfb9b3a7f1ae744c2dcc3e6229c475efcd45be86e7ff206f80c225e2494430a3ead2fb4702600347462
-EBUILD slib-3.2.2.ebuild 4050 BLAKE2B e7dda94e5f0e8d84eb80fefab2ca6296bf016da2ec50ab575e28c110cf097feb0effa55aaa657c5717b933f25db50759b024f79c04797fb0d4edbf6057d3d69b SHA512 d44ec1a0e70ee5170d79c9e0c403c632cbee43f9d443070bbe45de98ec4cc8c09f3b9027734f9138528b54b1b9710728e87cef5f94951e1e39f69409e2318757
EBUILD slib-3.2.5-r1.ebuild 2768 BLAKE2B 1a07e6c9e5fe579ca7a1df0914a06612e89e86559e99d484428fa7faa9ba6584a5f1d4ee09a9c504adcb08cb6ff7302f68f8bf019625a826d26e535cc4857103 SHA512 35f5d974cb1f99875f837d432f8fd8dba2061d3b993152275015251d49e1f6c181a2d11a9b81c9af07d561ab7a2138231ec7a3a04a5d2c34c8ef639ee3212e6d
MISC metadata.xml 580 BLAKE2B 64dcf4957037aed50b50ea0648103f9b9f2cc040736751a1bf584464855fed650efe1d3e437ef122356e3f83f7c9b528ddea493193aebe49dc285a7066281d69 SHA512 5b75cfc410ff0ec6a324590f69001ac38410e963df6490695abb85132168cd37ccf685b9281026eea2fc82e59340fccecde58887aa3b64f88003970b979d5807
diff --git a/dev-scheme/slib/slib-3.2.1.ebuild b/dev-scheme/slib/slib-3.2.1.ebuild
deleted file mode 100644
index 318985c33d5b..000000000000
--- a/dev-scheme/slib/slib-3.2.1.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit versionator eutils
-
-#version magic thanks to masterdriverz and UberLord using bash array instead of tr
-trarr="0abcdefghi"
-MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)"
-
-MY_P=${PN}-${MY_PV}
-S=${WORKDIR}/${PN}
-DESCRIPTION="library providing functions for Scheme implementations"
-SRC_URI="http://swiss.csail.mit.edu/ftpdir/scm/${MY_P}.zip"
-
-HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SLIB"
-
-SLOT="0"
-LICENSE="public-domain BSD"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
-IUSE="" #test"
-
-#unzip for unpacking
-RDEPEND=""
-DEPEND="app-arch/unzip"
-# test? ( dev-scheme/scm )"
-
-INSTALL_DIR="/usr/share/slib/"
-
-src_unpack() {
- unpack ${A}; cd "${S}"
-
-# cp Makefile Makefile.old
-
- sed "s:prefix = /usr/local/:prefix = ${D}/usr/:" -i Makefile
- sed 's:libdir = $(exec_prefix)lib/:libdir = $(exec_prefix)share/:' -i Makefile
- sed 's:man1dir = $(prefix)man/:man1dir = $(prefix)/share/man/:' -i Makefile
- sed 's:infodir = $(prefix)info/:infodir = $(prefix)share/info/:' -i Makefile
-
- sed 's:echo SCHEME_LIBRARY_PATH=$(libslibdir) >> $(bindir)slib:echo SCHEME_LIBRARY_PATH=/usr/share/slib/ >> $(bindir)slib:' -i Makefile
-
-# diff -u Makefile.old Makefile
-
- sed 's:(lambda () "/usr/local/share/gambc/")):(lambda () "/usr/share/gambit")):' -i gambit.init
-}
-
-src_compile() {
- emake || die "make failed"
-}
-
-#slib needs scm for tests, but scm needs slib so we can't depend on it
-src_test() {
- if has_version dev-scheme/scm; then
- make test || die "Make test failed. See above for details."
- else
- einfo "Skipping test, because dev-scheme/scm is not installed."
- fi
-}
-
-src_install() {
- emake infoz || die "infoz failed"
- emake install || die "install failed"
-
- dodoc ANNOUNCE ChangeLog FAQ README
- dodir /usr/share/gambit/
- more_install
-}
-
-more_install() {
- dosym ${INSTALL_DIR} /usr/share/guile/slib # link from guile dir
- dosym ${INSTALL_DIR} /usr/lib/slib
- dodir /etc/env.d/ && echo "SCHEME_LIBRARY_PATH=\"${INSTALL_DIR}\"" > "${D}"/etc/env.d/50slib
-
- mkdir "${S}"/installers
- pushd installers; make_installers; popd
- dosbin installers/*
-}
-
-pkg_postinst() {
- [ "${ROOT}" == "/" ] && pkg_config
-}
-
-IMPLEMENTATIONS="bigloo drscheme elk gambit guile scm" # mit-scheme
-
-pkg_config() {
- for impl in ${IMPLEMENTATIONS}; do
- install_slib ${impl}
-# echo '(slib:report-version)' | slib ${impl}
- done
-}
-
-make_load_expression() {
- echo "(load \\\"${INSTALL_DIR}$1.init\\\")"
-}
-
-make_installers()
-{
- PROGRAM="(require 'new-catalog) (slib:report-version)"
-
- bigloo_install_command="bigloo -s -eval \"(begin "$(make_load_expression bigloo)" ${PROGRAM} (exit))\""
- drscheme_install_command="mzscheme -vme \"(begin $(make_load_expression mzscheme) ${PROGRAM})\""
- elk_install_command="echo \"$(make_load_expression elk) ${PROGRAM}\" | elk -l -"
- gambit_install_command="gambit-interpreter -e \"$(make_load_expression gambit) ${PROGRAM}\""
-# guile_install_command="guile -c \"$(make_load_expression guile) ${PROGRAM}\""
- guile_install_command="guile -c \"(use-modules (ice-9 slib)) ${PROGRAM}\""
- #variable names may not contain hyphens (-)
- mitscheme_install_command="echo \"(set! load/suppress-loading-message? #t) $(make_load_expression mitscheme) ${PROGRAM}\" | mit-scheme --batch-mode"
- echo ${mitscheme_install_command}
- scm_install_command="scm -e \"${PROGRAM}\""
-
- for impl in ${IMPLEMENTATIONS}; do
- command_var=${impl//-/}_install_command
- make_installer ${impl} "${!command_var}"
- done
-}
-
-make_installer() {
- echo $2 > install_slib_for_${1//-/}
-}
-
-install_slib() {
- if has_version dev-scheme/$1; then
- script=install_slib_for_${1//-/}
- einfo "Registering slib with $1..."
-# echo running: $(cat /usr/sbin/${script})
- $script
- else
- einfo "$1 not installed, not registering..."
- fi
-}
diff --git a/dev-scheme/slib/slib-3.2.2.ebuild b/dev-scheme/slib/slib-3.2.2.ebuild
deleted file mode 100644
index 58e87bf28255..000000000000
--- a/dev-scheme/slib/slib-3.2.2.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="3"
-
-inherit versionator eutils
-
-#version magic thanks to masterdriverz and UberLord using bash array instead of tr
-trarr="0abcdefghi"
-MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)"
-
-MY_P=${PN}-${MY_PV}
-S=${WORKDIR}/${PN}
-DESCRIPTION="library providing functions for Scheme implementations"
-SRC_URI="http://swiss.csail.mit.edu/ftpdir/scm/${MY_P}.zip"
-
-HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SLIB"
-
-SLOT="0"
-LICENSE="public-domain BSD"
-KEYWORDS="alpha amd64 ia64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
-IUSE="" #test"
-
-#unzip for unpacking
-RDEPEND=""
-DEPEND="app-arch/unzip"
-# test? ( dev-scheme/scm )"
-
-INSTALL_DIR="/usr/share/slib/"
-
-_fix_txi_file() {
- local inplace_filename="${1}"
- local tempfile="$(emktemp)"
- awk -f "${FILESDIR}"/slib-3.2.2-fix-texinfo.awk < "${inplace_filename}" > "${tempfile}"
- mv "${tempfile}" "${inplace_filename}" || die
-}
-
-src_prepare() {
- sed "s:prefix = /usr/local/:prefix = ${ED}/usr/:" -i Makefile || die
- sed 's:libdir = $(exec_prefix)lib/:libdir = $(exec_prefix)share/:' -i Makefile || die
- sed 's:man1dir = $(prefix)man/:man1dir = $(prefix)/share/man/:' -i Makefile || die
- sed 's:infodir = $(prefix)info/:infodir = $(prefix)share/info/:' -i Makefile || die
-
- sed 's:echo SCHEME_LIBRARY_PATH=$(libslibdir) >> $(bindir)slib:echo SCHEME_LIBRARY_PATH='"${EPREFIX}"'/usr/share/slib/ >> $(bindir)slib:' -i Makefile || die
-
-# diff -u Makefile.old Makefile
-
- sed 's:(lambda () "/usr/local/share/gambc/")):(lambda () "'"${EPREFIX}"'/usr/share/gambit")):' -i gambit.init || die
-
- einfo "Fixing Texinfo files..."
- for i in *.txi *.texi ; do
- _fix_txi_file "${i}" || die
- done
-}
-
-src_compile() {
- emake || die "make failed"
-}
-
-src_install() {
- emake infoz || die "infoz failed"
- emake install || die "install failed"
-
- dodoc ANNOUNCE ChangeLog FAQ README || die
- dodir /usr/share/gambit/
- more_install
-}
-
-more_install() {
- dosym ${INSTALL_DIR} /usr/share/guile/slib # link from guile dir
- dosym ${INSTALL_DIR} /usr/lib/slib
- dodir /etc/env.d/ && echo "SCHEME_LIBRARY_PATH=\"${EPREFIX}${INSTALL_DIR}\"" > "${ED}"/etc/env.d/50slib
-
- mkdir "${S}"/installers
- pushd installers; make_installers; popd
- dosbin installers/* || die
-}
-
-pkg_postinst() {
- [ "${ROOT}" == "/" ] && pkg_config
-}
-
-IMPLEMENTATIONS="bigloo drscheme elk gambit guile scm" # mit-scheme
-
-pkg_config() {
- for impl in ${IMPLEMENTATIONS}; do
- install_slib ${impl}
-# echo '(slib:report-version)' | slib ${impl}
- done
-}
-
-make_load_expression() {
- echo "(load \\\"${EPREFIX}${INSTALL_DIR}$1.init\\\")"
-}
-
-make_installers()
-{
- PROGRAM="(require 'new-catalog) (slib:report-version)"
-
- bigloo_install_command="bigloo -s -eval \"(begin "$(make_load_expression bigloo)" ${PROGRAM} (exit))\""
- drscheme_install_command="mzscheme -vme \"(begin $(make_load_expression mzscheme) ${PROGRAM})\""
- elk_install_command="echo \"$(make_load_expression elk) ${PROGRAM}\" | elk -l -"
- gambit_install_command="gambit-interpreter -e \"$(make_load_expression gambit) ${PROGRAM}\""
-# guile_install_command="guile -c \"$(make_load_expression guile) ${PROGRAM}\""
- guile_install_command="guile -c \"(use-modules (ice-9 slib)) ${PROGRAM}\""
- #variable names may not contain hyphens (-)
- mitscheme_install_command="echo \"(set! load/suppress-loading-message? #t) $(make_load_expression mitscheme) ${PROGRAM}\" | mit-scheme --batch-mode"
- echo ${mitscheme_install_command}
- scm_install_command="scm -e \"${PROGRAM}\""
-
- for impl in ${IMPLEMENTATIONS}; do
- command_var=${impl//-/}_install_command
- make_installer ${impl} "${!command_var}"
- done
-}
-
-make_installer() {
- echo $2 > install_slib_for_${1//-/}
-}
-
-install_slib() {
- if has_version dev-scheme/$1; then
- script=install_slib_for_${1//-/}
- einfo "Registering slib with $1..."
-# echo running: $(cat "${EPREFIX}"/usr/sbin/${script})
- $script
- else
- einfo "$1 not installed, not registering..."
- fi
-}