diff options
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/snow-generic/Manifest | 1 | ||||
-rw-r--r-- | dev-scheme/snow-generic/files/destdir.patch | 66 | ||||
-rw-r--r-- | dev-scheme/snow-generic/files/some.patch | 44 | ||||
-rw-r--r-- | dev-scheme/snow-generic/snow-generic-1.1.2.ebuild | 53 |
4 files changed, 0 insertions, 164 deletions
diff --git a/dev-scheme/snow-generic/Manifest b/dev-scheme/snow-generic/Manifest deleted file mode 100644 index 1970bcfd..00000000 --- a/dev-scheme/snow-generic/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST snow-generic-v1_1_2.tgz 309979 BLAKE2B b05348fd6f09b228ae7b19a16436aa88320c14c1b94f748fc863bff3d9599f2fc759171e03c788e6540492d97b0a3161c6c0bd11498378dce3073616cb8c8dd0 SHA512 aacadfa0958659c8d9e6e5f527e7b3e44f186c3e67f366b4b34a77d484cb740ade30c3b41511049a9fda576f110f9418647d53a7058c68ae445f666e37420c03 diff --git a/dev-scheme/snow-generic/files/destdir.patch b/dev-scheme/snow-generic/files/destdir.patch deleted file mode 100644 index ec33d312..00000000 --- a/dev-scheme/snow-generic/files/destdir.patch +++ /dev/null @@ -1,66 +0,0 @@ -diff -ru /var/tmp/portage/dev-scheme/snow-generic-1.1.2/work/snow-generic/v1.1.2/makefile.in /home/marijn/snow-generic/makefile.in ---- /var/tmp/portage/dev-scheme/snow-generic-1.1.2/work/snow-generic/v1.1.2/makefile.in 2007-04-04 23:34:42.000000000 +0200 -+++ /home/marijn/snow-generic/makefile.in 2008-05-18 17:42:13.000000000 +0200 -@@ -68,28 +68,28 @@ - rm -rf host* - - install: -- $(MKIDIRS) $(bin_dir) -- $(INSTALL_PROGRAM) bin/snow $(bin_dir)/snow -- $(INSTALL_PROGRAM) bin/snowman $(bin_dir)/snowman -- $(INSTALL_PROGRAM) bin/snowfort $(bin_dir)/snowfort -- $(MKIDIRS) $(base_dir) -+ $(MKIDIRS) $(DESTDIR)$(bin_dir) -+ $(INSTALL_PROGRAM) bin/snow $(DESTDIR)$(bin_dir)/snow -+ $(INSTALL_PROGRAM) bin/snowman $(DESTDIR)$(bin_dir)/snowman -+ $(INSTALL_PROGRAM) bin/snowfort $(DESTDIR)$(bin_dir)/snowfort -+ $(MKIDIRS) $(DESTDIR)$(base_dir) - @for file in $(BASE_FILES); do \ - echo $(INSTALL_SOURCE) base/$$file $(base_dir)/$$file; \ -- $(INSTALL_SOURCE) base/$$file $(base_dir)/$$file; \ -+ $(INSTALL_SOURCE) base/$$file $(DESTDIR)$(base_dir)/$$file; \ - done -- $(MKIDIRS) $(pack_dir) -+ $(MKIDIRS) $(DESTDIR)$(pack_dir) - @for pkg in $(CORE_PACKAGES); do \ - VERSIONS=`ls pack/$$pkg`; \ -- $(MKIDIRS) $(pack_dir)/$$pkg; \ -+ $(MKIDIRS) $(DESTDIR)$(pack_dir)/$$pkg; \ - for ver in $$VERSIONS; do \ - SUBDIRS=`ls pack/$$pkg/$$ver`; \ -- $(MKIDIRS) $(pack_dir)/$$pkg/$$ver; \ -+ $(MKIDIRS) $(DESTDIR)$(pack_dir)/$$pkg/$$ver; \ - for sub in $$SUBDIRS; do \ - FILES=`ls pack/$$pkg/$$ver/$$sub`; \ -- $(MKIDIRS) $(pack_dir)/$$pkg/$$ver/$$sub; \ -+ $(MKIDIRS) $(DESTDIR)$(pack_dir)/$$pkg/$$ver/$$sub; \ - for file in $$FILES; do \ - echo $(INSTALL_SOURCE) pack/$$pkg/$$ver/$$sub/$$file $(pack_dir)/$$pkg/$$ver/$$sub/$$file; \ -- $(INSTALL_SOURCE) pack/$$pkg/$$ver/$$sub/$$file $(pack_dir)/$$pkg/$$ver/$$sub/$$file; \ -+ $(INSTALL_SOURCE) pack/$$pkg/$$ver/$$sub/$$file $(DESTDIR)$(pack_dir)/$$pkg/$$ver/$$sub/$$file; \ - done; \ - done; \ - done; \ -@@ -97,17 +97,17 @@ - @for snow_host in $(all_snow_hosts); do \ - echo "Setting up for SNOW_HOST=$$snow_host"; \ - for pkg in $(CORE_PACKAGES); do \ -- VERSIONS=`ls $(pack_dir)/$$pkg`; \ -+ VERSIONS=`ls $(DESTDIR)$(pack_dir)/$$pkg`; \ - for ver in $$VERSIONS; do \ - echo " compiling $$pkg/$$ver"; \ -- (cd $(pack_dir)/$$pkg/$$ver/snow && \ -- SNOW_HOST="$$snow_host" "$(bin_dir)/snow" --compile "$$pkg.scm" \ -+ (cd $(DESTDIR)$(pack_dir)/$$pkg/$$ver/snow && \ -+ SNOW_HOST="$$snow_host" "$(DESTDIR)$(bin_dir)/snow" --compile "$$pkg.scm" \ - ) || exit 1; \ - done \ - done \ - done -- rm -f $(snow_site_current_dir) -- ln -s $(snow_site_dir) $(snow_site_current_dir) -+ rm -f $(DESTDIR)$(snow_site_current_dir) -+ ln -s $(snow_site_dir) $(DESTDIR)$(snow_site_current_dir) - @echo "Don't forget to add $(snow_site_current_dir)/bin to your PATH" - - uninstall: diff --git a/dev-scheme/snow-generic/files/some.patch b/dev-scheme/snow-generic/files/some.patch deleted file mode 100644 index 83060eb4..00000000 --- a/dev-scheme/snow-generic/files/some.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -ru /var/tmp/portage/dev-scheme/snow-generic-1.1.2/work/snow-generic/v1.1.2/bin/snowfort.in /home/marijn/snow-generic/bin/snowfort.in ---- /var/tmp/portage/dev-scheme/snow-generic-1.1.2/work/snow-generic/v1.1.2/bin/snowfort.in 2007-04-04 23:31:33.000000000 +0200 -+++ /home/marijn/snow-generic/bin/snowfort.in 2008-05-18 17:29:05.000000000 +0200 -@@ -1,4 +1,4 @@ --":";SNOW_DEBUG= SNOW_TEST= SNOW_PATH= SNOW_USER_ROOT= SNOW_SITE_ROOT= SNOW_USER_DIR= SNOW_SITE_DIR= SNOW_PATH_GLOBAL= exec @SNOW_SITE_ROOT@/current/bin/snow -- "$0" "$@" -+":";SNOW_DEBUG= SNOW_TEST= SNOW_PATH= SNOW_USER_ROOT= SNOW_SITE_ROOT= SNOW_USER_DIR= SNOW_SITE_DIR= SNOW_PATH_GLOBAL= exec @SNOW_BIN_DIR@/snow -- "$0" "$@" - - ;;;============================================================================ - -Only in /home/marijn/snow-generic/bin: snowfort.in~ -diff -ru /var/tmp/portage/dev-scheme/snow-generic-1.1.2/work/snow-generic/v1.1.2/bin/snowman.in /home/marijn/snow-generic/bin/snowman.in ---- /var/tmp/portage/dev-scheme/snow-generic-1.1.2/work/snow-generic/v1.1.2/bin/snowman.in 2007-04-04 23:31:52.000000000 +0200 -+++ /home/marijn/snow-generic/bin/snowman.in 2008-05-18 17:29:30.000000000 +0200 -@@ -1,4 +1,4 @@ --":";SNOW_DEBUG= SNOW_TEST= SNOW_PATH= SNOW_USER_ROOT= SNOW_SITE_ROOT= SNOW_USER_DIR= SNOW_SITE_DIR= SNOW_PATH_GLOBAL= exec @SNOW_SITE_ROOT@/current/bin/snow -- "$0" "$@" -+":";SNOW_DEBUG= SNOW_TEST= SNOW_PATH= SNOW_USER_ROOT= SNOW_SITE_ROOT= SNOW_USER_DIR= SNOW_SITE_DIR= SNOW_PATH_GLOBAL= exec @SNOW_BIN_DIR@/snow -- "$0" "$@" - - ;;;============================================================================ - -Only in /home/marijn/snow-generic/bin: snowman.in~ -diff -ru /var/tmp/portage/dev-scheme/snow-generic-1.1.2/work/snow-generic/v1.1.2/configure /home/marijn/snow-generic/configure ---- /var/tmp/portage/dev-scheme/snow-generic-1.1.2/work/snow-generic/v1.1.2/configure 2008-03-12 22:12:52.000000000 +0100 -+++ /home/marijn/snow-generic/configure 2008-05-18 17:30:32.000000000 +0200 -@@ -556,6 +556,7 @@ - create_files () - { - cat > configure.sed <<EOF -+s,@SNOW_BIN_DIR@,${SNOW_BIN_DIR:-"/usr/bin"},g - s,@SNOW_SITE_ROOT@,${SNOW_SITE_ROOT:-"/usr/share/snow"},g - s,@SNOW_USER_ROOT@,${SNOW_USER_ROOT:-".snow"},g - s,@SNOW_VERSION@,${SNOW_VERSION:-"v0.0.0"},g -Only in /home/marijn/snow-generic/: configure~ -diff -ru /var/tmp/portage/dev-scheme/snow-generic-1.1.2/work/snow-generic/v1.1.2/makefile.in /home/marijn/snow-generic/makefile.in ---- /var/tmp/portage/dev-scheme/snow-generic-1.1.2/work/snow-generic/v1.1.2/makefile.in 2008-05-18 17:28:18.000000000 +0200 -+++ /home/marijn/snow-generic/makefile.in 2008-05-18 17:30:04.000000000 +0200 -@@ -108,6 +108,6 @@ - done - rm -f $(DESTDIR)$(snow_site_current_dir) - ln -s $(snow_site_dir) $(DESTDIR)$(snow_site_current_dir) -- @echo "Don't forget to add $(snow_site_current_dir)/bin to your PATH" -+ @echo "Don't forget to add $(bin_dir) to your PATH" - - uninstall: -Only in /home/marijn/snow-generic/: makefile.in~ diff --git a/dev-scheme/snow-generic/snow-generic-1.1.2.ebuild b/dev-scheme/snow-generic/snow-generic-1.1.2.ebuild deleted file mode 100644 index c58fb088..00000000 --- a/dev-scheme/snow-generic/snow-generic-1.1.2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils - -DESCRIPTION="A repository of Scheme packages that are portable to several popular implementations of Scheme" -HOMEPAGE="http://snow.iro.umontreal.ca/" -SRC_URI="http://snow.iro.umontreal.ca/?operation=download&pkg=${PN}/v${PV}&fakeoutput=/${PN}-v${PV//./_}.tgz" -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IMPLEMENTATIONS="bigloo chicken gambit gauche guile mit-scheme mzscheme scheme48 scm stklos" -#not supported but still tested for: rscheme -#not available to hkBst but probably supported: chez kawa larceny petite scsh sisc stalin - -for impl in ${IMPLEMENTATIONS}; do - DEPEND+="impl? ( dev-scheme/${impl} ) " - IUSE+="${impl} " -done - -S="${WORKDIR}/${PN}/v${PV}" - -src_unpack() { - unpack ${A}; cd "${S}" - - epatch "${FILESDIR}"/destdir.patch - epatch "${FILESDIR}"/some.patch - - cp configure configure.old - - sed "s:gambit-gsc:gambit-compiler:" -i configure - sed "s:-rx \"RScheme (v???,\":-rx \"RScheme (v???,\" -vrx \"[0-9][0-9A-Za-z.]*\\\(-b[0-9]u\\\)*\":" -i configure - sed "s:-rx \"\[Vv\]ersion ???,\":-rx \"Welcome to MzScheme v???\" -vrx \"[0-9]*\":" -i configure - - sed "/echo \"Configuring files for these defaults:\"/iALL_SNOW_HOSTS=\"$(usev bigloo) $(usev chicken) $(usev gambit) $(usev gauche) $(usev guile) $(useq mit-scheme && echo mit) $(usev mzscheme) $(usev scheme48) $(usev scm) $(usev stklos)\"" -i configure - - diff -u configure.old configure - - cp makefile.in makefile.in.old - - sed "s:bin_dir = \$(snow_site_dir)/bin:bin_dir = /usr/bin:" -i makefile.in - - diff -u makefile.in.old makefile.in -} - -src_compile() { - ./configure --host=bigloo -} - -src_install() { - emake DESTDIR="${D}" SNOW_SITE_DIR="${D}usr/share/snow/v${PV}" install || die -} |