summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@gentoo.org>2010-07-01 16:14:51 +0000
committerTomás Touceda <chiiph@gentoo.org>2010-07-01 16:14:51 +0000
commit3043c779deec90c13db1208a0261122e0c06e79d (patch)
treec247e42d8005ce0a7d8015821d36693fd73dd6d7 /dev-scheme
parentDisable automagic dependency over libunistring. Closes bug #326477. (diff)
downloadhistorical-3043c779deec90c13db1208a0261122e0c06e79d.tar.gz
historical-3043c779deec90c13db1208a0261122e0c06e79d.tar.bz2
historical-3043c779deec90c13db1208a0261122e0c06e79d.zip
Add installation to missing docs, and port to EAPI 3
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/tinyscheme/ChangeLog10
-rw-r--r--dev-scheme/tinyscheme/Manifest4
-rw-r--r--dev-scheme/tinyscheme/tinyscheme-1.39-r1.ebuild43
-rw-r--r--dev-scheme/tinyscheme/tinyscheme-1.39.ebuild36
4 files changed, 53 insertions, 40 deletions
diff --git a/dev-scheme/tinyscheme/ChangeLog b/dev-scheme/tinyscheme/ChangeLog
index 98de0e604874..d51d8e8346dd 100644
--- a/dev-scheme/tinyscheme/ChangeLog
+++ b/dev-scheme/tinyscheme/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-scheme/tinyscheme
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/ChangeLog,v 1.8 2008/05/08 10:07:42 hkbst Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/ChangeLog,v 1.9 2010/07/01 16:14:51 chiiph Exp $
+
+*tinyscheme-1.39-r1 (01 Jul 2010)
+
+ 01 Jul 2010; Tomas Touceda <chiiph@gentoo.org> -tinyscheme-1.39.ebuild,
+ +tinyscheme-1.39-r1.ebuild:
+ Add installation to missing docs, and port to EAPI 3
*tinyscheme-1.39 (08 May 2008)
diff --git a/dev-scheme/tinyscheme/Manifest b/dev-scheme/tinyscheme/Manifest
index 2bca7779e00e..30afef805db0 100644
--- a/dev-scheme/tinyscheme/Manifest
+++ b/dev-scheme/tinyscheme/Manifest
@@ -1,6 +1,6 @@
DIST tinyscheme1.38.zip 58182 RMD160 1a0630fd6a238e155714478a334ba7d2b4dac7b3 SHA1 e20b81940b92b48b48a3a8ead812e7f0f12ca6ae SHA256 7d716794b9a20624ebb80a2e6b6a288301fc673d47ce6ae4d845aa40d9305803
DIST tinyscheme1.39.zip 58751 RMD160 d8d365ccceb9482ffd457fd6d4f97c1651e131e9 SHA1 d759bff93683399ee7abbfd1a822d000adb22a0c SHA256 5b53bcacd5f48031c57567a8c76dc20f56db4a8a98ee9d4859556dfd6203ffbd
EBUILD tinyscheme-1.38-r1.ebuild 1143 RMD160 ad92acb3301edcb950945fe66bbde3090106cf74 SHA1 85ed9ed007af085a6b6b84f552bd582bf93db128 SHA256 88568adf30c78f35e93057073d5bcd0cc8cb845834d8ef2d6a98a6d678c483ce
-EBUILD tinyscheme-1.39.ebuild 1144 RMD160 e3afb4df2a2289b846eb9128c6abdf465b393f98 SHA1 b30cc4f91839a4261aada68c4964ed90e987d09a SHA256 3d2065cfe748935f74e58781ef8684d1ec1a89a62420aa499b59e41759133773
-MISC ChangeLog 1386 RMD160 0b31659039b62dd1d4610422f1cd66303e1d86c3 SHA1 dee64fa76395b4f51a6d8f25c8b5113c9dca05f6 SHA256 25f072a819deab90b0827fca4ecfbcf664df86d973cca8e3a3b30214ad3ed66a
+EBUILD tinyscheme-1.39-r1.ebuild 1272 RMD160 7ae5042cf63f2c63096e9c59079c9ecd751a8ba7 SHA1 4c0c016d21afc94442ce156425e1f0a1de40ed0d SHA256 c8775e66164c163d93061caebd6d5ad1a1f72088455d1af24780e3a742198708
+MISC ChangeLog 1582 RMD160 cf34eebce9255a48b16c6627baafce66bd23b219 SHA1 d98034ca550acd44b0d2391ce5f399ca5f26b8be SHA256 caa182e2fda15f74d39f47d997e3916bb99a0e4c9419fb21b0d6b1e13ed4c125
MISC metadata.xml 785 RMD160 3f4f4e99386c93895d556711f854b5daf86cbead SHA1 1c6a8ca69fd8c5bd030075fad0ec567d3bce4bc8 SHA256 b07e9079f2a52e389b96ef3289273a9728c16701539174f38667cde3edcba8ee
diff --git a/dev-scheme/tinyscheme/tinyscheme-1.39-r1.ebuild b/dev-scheme/tinyscheme/tinyscheme-1.39-r1.ebuild
new file mode 100644
index 000000000000..ae5313effcc8
--- /dev/null
+++ b/dev-scheme/tinyscheme/tinyscheme-1.39-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/tinyscheme-1.39-r1.ebuild,v 1.1 2010/07/01 16:14:51 chiiph Exp $
+
+EAPI="3"
+
+inherit flag-o-matic
+
+MY_P=${PN}${PV}
+
+DESCRIPTION="Lightweight scheme interpreter"
+HOMEPAGE="http://tinyscheme.sourceforge.net"
+SRC_URI="mirror://sourceforge/tinyscheme/${MY_P}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -e 's/PLATFORM_FEATURES = -DUSE_STRLWR=0/#PLATFORM_FEATURES = -DUSE_STRLWR=0/;
+ s/CC = gcc -fpic/CC = gcc -fpic ${CFLAGS}/;
+ s/LDFLAGS/LOCAL_LDFLAGS/g;
+ s/LOCAL_LDFLAGS = -shared/LOCAL_LDFLAGS = -shared ${LDFLAGS}/;
+ s/DEBUG=-g -Wno-char-subscripts -O/DEBUG=/' \
+ -i makefile || die "sed failed"
+ append-ldflags "-Wl,-soname,lib${PN}.so.${PV}"
+}
+
+src_install() {
+ local INIT_DIR=/usr/share/${PN}/
+ newbin scheme ${PN} || die "newbin failed"
+ dolib libtinyscheme.a libtinyscheme.so || die "dolib failed"
+ dodoc Manual.txt || die "dodoc failed"
+ insinto ${INIT_DIR}
+ doins init.scm || die "doins failed"
+ dodir /etc/env.d/ && echo "TINYSCHEMEINIT=\"${INIT_DIR}init.scm\"" > "${D}"/etc/env.d/50tinyscheme
+}
diff --git a/dev-scheme/tinyscheme/tinyscheme-1.39.ebuild b/dev-scheme/tinyscheme/tinyscheme-1.39.ebuild
deleted file mode 100644
index 8bf23bbb206c..000000000000
--- a/dev-scheme/tinyscheme/tinyscheme-1.39.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 2000-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/tinyscheme-1.39.ebuild,v 1.1 2008/05/08 10:07:42 hkbst Exp $
-
-MY_P=${PN}${PV}
-DESCRIPTION="Lightweight scheme interpreter"
-HOMEPAGE="http://tinyscheme.sourceforge.net"
-SRC_URI="mirror://sourceforge/tinyscheme/${MY_P}.zip"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-DEPEND="app-arch/unzip"
-RDEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}; cd "${S}"
- sed 's/PLATFORM_FEATURES = -DUSE_STRLWR=0/#PLATFORM_FEATURES = -DUSE_STRLWR=0/' -i makefile
- sed 's/CC = gcc -fpic/CC = gcc -fpic ${CFLAGS}/' -i makefile
- sed 's/LDFLAGS/LOCAL_LDFLAGS/g' -i makefile
- sed 's/LOCAL_LDFLAGS = -shared/LOCAL_LDFLAGS = -shared ${LDFLAGS}/' -i makefile
- sed 's/DEBUG=-g -Wno-char-subscripts -O/DEBUG=/' -i makefile
-}
-
-src_install() {
- INIT_DIR=/usr/share/tinyscheme/
- newbin scheme tinyscheme
- dolib libtinyscheme.a libtinyscheme.so
- insinto ${INIT_DIR}
- doins init.scm
- dodir /etc/env.d/ && echo "TINYSCHEMEINIT=\"${INIT_DIR}init.scm\"" > "${D}"/etc/env.d/50tinyscheme
-}