diff options
author | Harald van Dijk <truedfx@gentoo.org> | 2006-09-06 15:22:54 +0000 |
---|---|---|
committer | Harald van Dijk <truedfx@gentoo.org> | 2006-09-06 15:22:54 +0000 |
commit | d4d49e8ca5b8dc133feaabaf5bf65f11179d2f80 (patch) | |
tree | 6d1e390f3797fd2cda5218d02e1fabb4d6b9f4f5 /dev-lang | |
parent | Moved addwrite() outside the if statement since it's needed in both cases. (diff) | |
download | gentoo-2-d4d49e8ca5b8dc133feaabaf5bf65f11179d2f80.tar.gz gentoo-2-d4d49e8ca5b8dc133feaabaf5bf65f11179d2f80.tar.bz2 gentoo-2-d4d49e8ca5b8dc133feaabaf5bf65f11179d2f80.zip |
Add ebuild for ten15 snapshot
(Portage version: 2.1.1_rc1-r3)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/tendra/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/tendra/files/digest-tendra-5.0_pre20060322 | 6 | ||||
-rw-r--r-- | dev-lang/tendra/tendra-5.0_pre20060322.ebuild | 66 |
3 files changed, 79 insertions, 1 deletions
diff --git a/dev-lang/tendra/ChangeLog b/dev-lang/tendra/ChangeLog index 39c7f9b2fc6a..3548b5234763 100644 --- a/dev-lang/tendra/ChangeLog +++ b/dev-lang/tendra/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/tendra # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tendra/ChangeLog,v 1.2 2006/08/26 21:51:09 truedfx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tendra/ChangeLog,v 1.3 2006/09/06 15:22:54 truedfx Exp $ + +*tendra-5.0_pre20060322 (06 Sep 2006) + + 06 Sep 2006; Harald van Dijk <truedfx@gentoo.org> + +tendra-5.0_pre20060322.ebuild: + New ebuild for the far more recent tendra snapshot 26 Aug 2006; Harald van Dijk <truedfx@gentoo.org> files/digest-tendra-4.1.2, Manifest: diff --git a/dev-lang/tendra/files/digest-tendra-5.0_pre20060322 b/dev-lang/tendra/files/digest-tendra-5.0_pre20060322 new file mode 100644 index 000000000000..25f9a769394d --- /dev/null +++ b/dev-lang/tendra/files/digest-tendra-5.0_pre20060322 @@ -0,0 +1,6 @@ +MD5 44621b01f47f63d321c520dbf14475b3 tendra-20060322.tar.bz2 2397620 +RMD160 2ceedd0dd8bd4d040bd1d5ae454f423c1e9eb5e2 tendra-20060322.tar.bz2 2397620 +SHA256 82ff1ba409437f778d38f5e66cd5de3b7071b1f56c2d57a6874193e7b7517b31 tendra-20060322.tar.bz2 2397620 +MD5 25908a6fc7538cd59f9327e947db010d tendra-5.0_pre20060322-misc.patch.bz2 8941 +RMD160 5fff31afe365e2bb0e6b727b7a717c400f4f65d1 tendra-5.0_pre20060322-misc.patch.bz2 8941 +SHA256 bdcc954f892e38fc44b91245c7862e91164ece5a86ca77ce19db9a545f131da8 tendra-5.0_pre20060322-misc.patch.bz2 8941 diff --git a/dev-lang/tendra/tendra-5.0_pre20060322.ebuild b/dev-lang/tendra/tendra-5.0_pre20060322.ebuild new file mode 100644 index 000000000000..d2cdb50d5ecf --- /dev/null +++ b/dev-lang/tendra/tendra-5.0_pre20060322.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tendra/tendra-5.0_pre20060322.ebuild,v 1.1 2006/09/06 15:22:54 truedfx Exp $ + +inherit eutils toolchain-funcs bsdmk + +MY_PV=${PV#*_pre} + +DESCRIPTION="A C/C++ compiler initially developed by DERA" +HOMEPAGE="http://www.ten15.org/" +SRC_URI="ftp://ftp.ten15.org/pub/snapshot/tendra-${MY_PV}.tar.bz2 + mirror://gentoo/${P}-misc.patch.bz2 + http://dev.gentoo.org/~truedfx/${P}-misc.patch.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" +# Both tendra and tinycc install /usr/bin/tcc +RDEPEND="!dev-lang/tcc" + +S=${WORKDIR}/${PN} + +pkg_setup() { + export MAKE=$(get_bmake) +} + +src_unpack() { + unpack tendra-${MY_PV}.tar.bz2 + cd "${S}" + epatch "${DISTDIR}"/${P}-misc.patch.bz2 +} + +src_compile() { + rm -f config.mk + + export MAKE + + # Note: despite the below code block, only x86 linux + # is supported or even known to work for now + case $(tc-arch) in + *-macos) emake darwin || die ;; + *-fbsd) emake freebsd || die ;; + *-nbsd) emake netbsd || die ;; + *-obsd) emake openbsd || die ;; + *) emake linux || die ;; + esac + + for program in CC AS LD + do + set -- $(tc-get${program}) + local path=$(type -P $1) + shift + export BIN_${program}="${path} $*" + done + + PREFIX=/usr emake || die "compilation failed" +} + +src_install() { + export MAKE + + PREFIX=${D}usr emake install || die "installation failed" +} |