From 86c2d3410a00a64ae15a0d76e1376c17e00b2529 Mon Sep 17 00:00:00 2001 From: Marijn Schouten Date: Wed, 24 Jan 2007 18:34:29 +0000 Subject: [PATCH] Initial ebuild Package-Manager: portage-2.1.2-r2 --- dev-scheme/scm/ChangeLog | 10 ++++++ dev-scheme/scm/Manifest | 16 +++++++++ dev-scheme/scm/files/digest-scm-5.5.3 | 3 ++ dev-scheme/scm/metadata.xml | 12 +++++++ dev-scheme/scm/scm-5.5.3.ebuild | 49 +++++++++++++++++++++++++++ 5 files changed, 90 insertions(+) create mode 100644 dev-scheme/scm/ChangeLog create mode 100644 dev-scheme/scm/Manifest create mode 100644 dev-scheme/scm/files/digest-scm-5.5.3 create mode 100644 dev-scheme/scm/metadata.xml create mode 100644 dev-scheme/scm/scm-5.5.3.ebuild diff --git a/dev-scheme/scm/ChangeLog b/dev-scheme/scm/ChangeLog new file mode 100644 index 000000000000..a57ccb4965ee --- /dev/null +++ b/dev-scheme/scm/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-scheme/scm +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scm/ChangeLog,v 1.1 2007/01/24 18:34:29 hkbst Exp $ + +*scm-5.5.3 (24 Jan 2007) + + 24 Jan 2007; Marijn Schouten +metadata.xml, + +scm-5.5.3.ebuild: + Initial ebuild + diff --git a/dev-scheme/scm/Manifest b/dev-scheme/scm/Manifest new file mode 100644 index 000000000000..83eedfc7ea25 --- /dev/null +++ b/dev-scheme/scm/Manifest @@ -0,0 +1,16 @@ +DIST scm5e3.zip 901866 RMD160 91f97bf4efd6bf734fe3e789762a90f20ad7b9b2 SHA1 3d7a0160357840c6a96ef9ded6fb31d92507561d SHA256 65fe69d6f3ccc2adeb4f73fed4a73c700789a2e8b7c7937f5bb9b4f851e3db7d +EBUILD scm-5.5.3.ebuild 1302 RMD160 36df54f2e396d42bd5acf1fac8e6791326a96ae8 SHA1 60df716002ec157240c32731458dca9e8b4a7c3f SHA256 892e2d2414eef8d64a37bfecec6a3ae26d1a64e3eef565cfec1c4fec779bda10 +MD5 71ca01f78dbcdf1bfacbdc7b2cca543a scm-5.5.3.ebuild 1302 +RMD160 36df54f2e396d42bd5acf1fac8e6791326a96ae8 scm-5.5.3.ebuild 1302 +SHA256 892e2d2414eef8d64a37bfecec6a3ae26d1a64e3eef565cfec1c4fec779bda10 scm-5.5.3.ebuild 1302 +MISC ChangeLog 330 RMD160 3cc9baaa62a2291d420f6647ffff983b2302b78f SHA1 8f12f7af7ac844ce13d139149c390430dfd5edf6 SHA256 1d36b4a014dc3c8334432e6036d68149c17d70b4c81367b11db031009f3cd1b5 +MD5 363cee4b25369fd7f2f3d41731aab9a2 ChangeLog 330 +RMD160 3cc9baaa62a2291d420f6647ffff983b2302b78f ChangeLog 330 +SHA256 1d36b4a014dc3c8334432e6036d68149c17d70b4c81367b11db031009f3cd1b5 ChangeLog 330 +MISC metadata.xml 434 RMD160 951fec63f3325b7f92693c88948382715576d8c9 SHA1 cf322011d73ec3e648fe45f7bf357c39eaa29d52 SHA256 b810a305f07a75ef4299bde4aa2bd136e98bcad906b4000d46235a127dbf7844 +MD5 542fee3e9b107c86b6ff309d6362f466 metadata.xml 434 +RMD160 951fec63f3325b7f92693c88948382715576d8c9 metadata.xml 434 +SHA256 b810a305f07a75ef4299bde4aa2bd136e98bcad906b4000d46235a127dbf7844 metadata.xml 434 +MD5 f2495b2c78747dcb285e9598cf057b7b files/digest-scm-5.5.3 211 +RMD160 bc806184a15774c40a86a02363658d8055cd04e0 files/digest-scm-5.5.3 211 +SHA256 d169ae50bac91cb1289f70c3a8c9872b1208921c3624016bb32c20946f4da895 files/digest-scm-5.5.3 211 diff --git a/dev-scheme/scm/files/digest-scm-5.5.3 b/dev-scheme/scm/files/digest-scm-5.5.3 new file mode 100644 index 000000000000..e8a4f12ca38e --- /dev/null +++ b/dev-scheme/scm/files/digest-scm-5.5.3 @@ -0,0 +1,3 @@ +MD5 04622ad33733771ed0b3e24c32594ea6 scm5e3.zip 901866 +RMD160 91f97bf4efd6bf734fe3e789762a90f20ad7b9b2 scm5e3.zip 901866 +SHA256 65fe69d6f3ccc2adeb4f73fed4a73c700789a2e8b7c7937f5bb9b4f851e3db7d scm5e3.zip 901866 diff --git a/dev-scheme/scm/metadata.xml b/dev-scheme/scm/metadata.xml new file mode 100644 index 000000000000..7a1a8aebe518 --- /dev/null +++ b/dev-scheme/scm/metadata.xml @@ -0,0 +1,12 @@ + + + + scheme + + hkBst@gentoo.org + Marijn Schouten + + +SCM is a Scheme implementation conforming to Revised5 Report on the Algorithmic Language Scheme and the IEEE P1178 specification. + + \ No newline at end of file diff --git a/dev-scheme/scm/scm-5.5.3.ebuild b/dev-scheme/scm/scm-5.5.3.ebuild new file mode 100644 index 000000000000..f2c467e7d675 --- /dev/null +++ b/dev-scheme/scm/scm-5.5.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scm/scm-5.5.3.ebuild,v 1.1 2007/01/24 18:34:29 hkbst Exp $ + +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="Scheme implementation from author of slib" +SRC_URI="http://swiss.csail.mit.edu/ftpdir/scm/${MY_P}.zip" + +HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM" + +SLOT="0" +LICENSE="GPL-2-with-linking-exception" +KEYWORDS="~amd64" +IUSE="" + +#unzip for unpacking +RDEPEND="" +DEPEND="app-arch/unzip + >=dev-scheme/slib-3.1.4-r2" + +src_compile() { + einfo "Making scmlit" + #parallel make fails sometimes + emake -j1 scmlit + einfo "Building" + echo "srcdir=${ROOT}/usr/share/scm/" > srcdir.mk + ./build --compiler-options="${CFLAGS}" --linker-options="${LDFLAGS}" -F macro + emake +} + +src_install() { +# emake DESTDIR=${D} install + insinto /usr/share/scm/ + doins *.scm + dodoc ANNOUNCE QUICKREF README + dobin scm +} + +pkg_postinst() { + einfo "Regenerating catalog..." + ${ROOT}/usr/bin/scm -e"(require ('new-catalog))" +} \ No newline at end of file -- 2.26.2