From: Harald van Dijk Date: Wed, 6 Sep 2006 15:22:54 +0000 (+0000) Subject: Add ebuild for ten15 snapshot X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3d4d734b1212ed9868ecf4e25d3ddd7ef3d17d66;p=gentoo.git Add ebuild for ten15 snapshot Package-Manager: portage-2.1.1_rc1-r3 --- 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 + +tendra-5.0_pre20060322.ebuild: + New ebuild for the far more recent tendra snapshot 26 Aug 2006; Harald van Dijk files/digest-tendra-4.1.2, Manifest: diff --git a/dev-lang/tendra/Manifest b/dev-lang/tendra/Manifest index b9147c663248..cbd698205d5e 100644 --- a/dev-lang/tendra/Manifest +++ b/dev-lang/tendra/Manifest @@ -2,16 +2,22 @@ Hash: SHA1 DIST TenDRA-4.1.2.tar.bz2 2852170 RMD160 fa5c6c840e828739b201900a173a230619a9de9a SHA1 84a1c82a5ea2145166176fbf6c549ae449c5cb9c SHA256 b7d7d961c04179cad61cecc05d1e01bda1fa19a43030bd6c6a3d9ddb3f427cab +DIST tendra-20060322.tar.bz2 2397620 RMD160 2ceedd0dd8bd4d040bd1d5ae454f423c1e9eb5e2 SHA1 0e866eaacb299498f3e01fdb66bf2b02567dcd1a SHA256 82ff1ba409437f778d38f5e66cd5de3b7071b1f56c2d57a6874193e7b7517b31 DIST tendra-4.1.2-minix.patch.bz2 5936 RMD160 8949192b4efe14a8659a55e6d56d175ad4692457 SHA1 36ef117bd06265eacf2b4f1441ccf2c4fbbc3354 SHA256 da9879cc30f0eba30f78923b16e37c5f00ce59dd193de0c8550cf87d0f6f15c5 DIST tendra-4.1.2-misc.patch.bz2 5001 RMD160 93d713fcf9a3463f2a585a0a69f25f0c17b31fbb SHA1 22ddb06ce29f94aae5d661263835da14d55a89dc SHA256 ba6a46371f84ee68d09b5681bbe4b0e54127b66cf29cf7aee19bc238f7e2e6f6 +DIST tendra-5.0_pre20060322-misc.patch.bz2 8941 RMD160 5fff31afe365e2bb0e6b727b7a717c400f4f65d1 SHA1 39fed5260c99332796d51767a0f0f39ba582cd3e SHA256 bdcc954f892e38fc44b91245c7862e91164ece5a86ca77ce19db9a545f131da8 EBUILD tendra-4.1.2.ebuild 1313 RMD160 a94062c581654f2db50371d73e2b4ea70f96c975 SHA1 05e7d0d3a8c7354c17013bdafd5a72a9bbffe40f SHA256 a833739e4741effb1c13324e55cba48fbeb0c521bb4c6f9dff10c8dfb2899f67 MD5 fd94b7511a6cb5f199359676d953b823 tendra-4.1.2.ebuild 1313 RMD160 a94062c581654f2db50371d73e2b4ea70f96c975 tendra-4.1.2.ebuild 1313 SHA256 a833739e4741effb1c13324e55cba48fbeb0c521bb4c6f9dff10c8dfb2899f67 tendra-4.1.2.ebuild 1313 -MISC ChangeLog 483 RMD160 f8e606dc218ad224848a8942bb6013b0e9b9aafc SHA1 a54d235e1eace716712ae01ecd29c8bd08d9be35 SHA256 33c1bd34e2fa927c6cafab6c71a35b402559d3dfa56088575dcc4660a0dc7bc9 -MD5 5d251d25f43d13432f83acad187c9aaf ChangeLog 483 -RMD160 f8e606dc218ad224848a8942bb6013b0e9b9aafc ChangeLog 483 -SHA256 33c1bd34e2fa927c6cafab6c71a35b402559d3dfa56088575dcc4660a0dc7bc9 ChangeLog 483 +EBUILD tendra-5.0_pre20060322.ebuild 1454 RMD160 ac21785dd7bfda5c65ccf86b6acc0e524d7793f7 SHA1 1ce3c5419af0f4219eb5426cf612844ac38bd5f6 SHA256 70e1cdc5cfe4685e1dccfe7c4117aa7dae5315b6f7cc0184eb995c01bffccb3e +MD5 3e46aee82b170db3b83ab25c628a8dbf tendra-5.0_pre20060322.ebuild 1454 +RMD160 ac21785dd7bfda5c65ccf86b6acc0e524d7793f7 tendra-5.0_pre20060322.ebuild 1454 +SHA256 70e1cdc5cfe4685e1dccfe7c4117aa7dae5315b6f7cc0184eb995c01bffccb3e tendra-5.0_pre20060322.ebuild 1454 +MISC ChangeLog 662 RMD160 b60355e28bbf81ded077aa62cb61af55d3856603 SHA1 db41387a714683fd8783f132e1eca52667ef1641 SHA256 596b7701db9b65e255c2da6bf5d29d749b05d2dd2845a4caadd2a58a2aa4c0c0 +MD5 6c282bec6459788a4159cfa4f85c321d ChangeLog 662 +RMD160 b60355e28bbf81ded077aa62cb61af55d3856603 ChangeLog 662 +SHA256 596b7701db9b65e255c2da6bf5d29d749b05d2dd2845a4caadd2a58a2aa4c0c0 ChangeLog 662 MISC metadata.xml 252 RMD160 c826f2e1707932bad2f8a58648686e4e288ea866 SHA1 66dc4db06caa55ead3c264eed13a73a7c47f9bbc SHA256 c175c348db84c15f005fda2244e4fb613fd3d774876f457b240f083f3335b50d MD5 0a98eda8a423f10d0d5f2a642467ee93 metadata.xml 252 RMD160 c826f2e1707932bad2f8a58648686e4e288ea866 metadata.xml 252 @@ -19,10 +25,13 @@ SHA256 c175c348db84c15f005fda2244e4fb613fd3d774876f457b240f083f3335b50d metadata MD5 04bdf68119b6281ab589b08f32df0f13 files/digest-tendra-4.1.2 759 RMD160 bad2bcac28230b0b26351ef0d78603d07bc34676 files/digest-tendra-4.1.2 759 SHA256 8826588cce0d235b22c42fdd5572a6c61cf634c30c32d338c83ba834b62024ce files/digest-tendra-4.1.2 759 +MD5 99444ef19cb936b297da7ca2c670e4a0 files/digest-tendra-5.0_pre20060322 539 +RMD160 1a9b10129dcf92db894d5eac2daea77d0767b47d files/digest-tendra-5.0_pre20060322 539 +SHA256 70f162b1f765e8fa57b87f028edd3af85943fafe9bcec91ba858f3428138bd1e files/digest-tendra-5.0_pre20060322 539 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFE8MJhwnQyISwouHwRAje2AKCOScb8bUtV9uY8AvOx6EUFOOax6ACgmm8s -ZCMIg5jttcO4e27ReUXFEPo= -=WAnV +iD8DBQFE/ufnwnQyISwouHwRAuCnAKCAmgD8k7U07ACvg6ypuhY9xZxywwCePfyB +8K5oq9BqQjDgVRBEKG+hiwg= +=pJd8 -----END PGP SIGNATURE----- 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" +}