diff options
author | Tomás Touceda <chiiph@gentoo.org> | 2010-07-01 16:14:51 +0000 |
---|---|---|
committer | Tomás Touceda <chiiph@gentoo.org> | 2010-07-01 16:14:51 +0000 |
commit | 451f9e50c342108ba8eae96c0613f64819ca3d19 (patch) | |
tree | 8eaca3c5eeb89c378118a3484835398503e672c7 /dev-scheme | |
parent | Disable automagic dependency over libunistring. Closes bug #326477. (diff) | |
download | gentoo-2-451f9e50c342108ba8eae96c0613f64819ca3d19.tar.gz gentoo-2-451f9e50c342108ba8eae96c0613f64819ca3d19.tar.bz2 gentoo-2-451f9e50c342108ba8eae96c0613f64819ca3d19.zip |
Add installation to missing docs, and port to EAPI 3
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/tinyscheme/ChangeLog | 10 | ||||
-rw-r--r-- | dev-scheme/tinyscheme/tinyscheme-1.39-r1.ebuild | 43 | ||||
-rw-r--r-- | dev-scheme/tinyscheme/tinyscheme-1.39.ebuild | 36 |
3 files changed, 51 insertions, 38 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/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 -} |