diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-02 04:11:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-02 04:11:02 +0000 |
commit | 67534fd3ad3707b208b84c1ed13ad4abb414a09b (patch) | |
tree | 5eb28dc438b41e23f6b34d5f2e8fe995a5a6d941 /dev-lang/cm3-bin | |
parent | stable on mips (diff) | |
download | gentoo-2-67534fd3ad3707b208b84c1ed13ad4abb414a09b.tar.gz gentoo-2-67534fd3ad3707b208b84c1ed13ad4abb414a09b.tar.bz2 gentoo-2-67534fd3ad3707b208b84c1ed13ad4abb414a09b.zip |
Version bump #81799 by Stefan Sperling.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-lang/cm3-bin')
-rw-r--r-- | dev-lang/cm3-bin/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild | 60 | ||||
-rw-r--r-- | dev-lang/cm3-bin/files/cm3.cfg | 21 | ||||
-rw-r--r-- | dev-lang/cm3-bin/files/digest-cm3-bin-5.2.7_pre050331 | 1 |
4 files changed, 77 insertions, 15 deletions
diff --git a/dev-lang/cm3-bin/ChangeLog b/dev-lang/cm3-bin/ChangeLog index 9b61044e36da..c02120b81673 100644 --- a/dev-lang/cm3-bin/ChangeLog +++ b/dev-lang/cm3-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/cm3-bin -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3-bin/ChangeLog,v 1.3 2004/06/24 22:47:44 agriffis Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3-bin/ChangeLog,v 1.4 2005/04/02 04:11:02 vapier Exp $ + +*cm3-bin-5.2.7_pre050331 (02 Apr 2005) + + 02 Apr 2005; Mike Frysinger <vapier@gentoo.org> files/cm3.cfg, + +cm3-bin-5.2.7_pre050331.ebuild: + Version bump #81799 by Stefan Sperling. 28 Jul 2003; Michael Sterrett <msterret@gentoo.org> cm3-bin-5.2.6.ebuild: only IUSE if actually used diff --git a/dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild b/dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild new file mode 100644 index 000000000000..f49230619cd9 --- /dev/null +++ b/dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild,v 1.1 2005/04/02 04:11:02 vapier Exp $ + +inherit toolchain-funcs + +STAMP=${PV/*_pre} +MY_PV=${PV/_pre*}-20${STAMP:0:2}-${STAMP:2:2}-${STAMP:4:2} +DESCRIPTION="Critical Mass Modula-3 compiler (binary version)" +HOMEPAGE="http://www.elegosoft.com/cm3/" +SRC_URI="x86? ( http://www.elegosoft.com/cm3/cm3-min-POSIX-LINUXLIBC6-d${MY_PV}.tgz ) + amd64? ( http://www.elegosoft.com/cm3/cm3-min-POSIX-LINUXLIBC6-d${MY_PV}.tgz )" + +LICENSE="CMASS-M3 DEC-M3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="amd64? ( app-emulation/emul-linux-x86-glibc )" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + tar -zxf system.tgz || die "unpacking system.tgz" + + local TARGET + local GNU_PLATFORM + case ${ARCH} in + amd64|x86) + TARGET=LINUXLIBC6 + GNU_PLATFORM=i486--linuxelf + ;; + ppc) + TARGET=PPC_LINUX + GNU_PLATFORM=powerpc-apple-linuxelf + ;; + esac + sed \ + -e "s:GENTOO_TARGET:${TARGET}:" \ + -e "s:GENTOO_GNU_PLATFORM:${GNU_PLATFORM}:" \ + -e "s:GENTOO_INITIAL_REACTOR_EDITOR:${EDITOR:-/usr/bin/nano}:" \ + -e "s:GENTOO_INSTALL_ROOT:/usr/lib/cm3/:" \ + -e "s:GENTOO_GNU_CC:$(tc-getCC):" \ + -e "s:GENTOO_GNU_CFLAGS:${CFLAGS:--O}:" \ + -e "s:GENTOO_GNU_MAKE:${MAKE:-make}:" \ + -e "s:GENTOO_ROOT:/usr/lib/cm3/pkg/:" \ + "${FILESDIR}"/cm3.cfg > bin/cm3.cfg +} + +src_install() { + dodir /usr/lib/cm3 /usr/bin + mv pkg bin lib "${D}"/usr/lib/cm3/ || die "mv lib" + dosym /usr/lib/cm3/bin/cm3 /usr/bin/cm3 + dosym /usr/lib/cm3/bin/cm3.cfg /usr/bin/cm3.cfg + dosym /usr/lib/cm3/bin/cm3cg /usr/bin/cm3cg + dobin "${FILESDIR}"/m3{build,ship} + + doenvd "${FILESDIR}"/05cm3 +} diff --git a/dev-lang/cm3-bin/files/cm3.cfg b/dev-lang/cm3-bin/files/cm3.cfg index dcc895ccb091..fd485bd0f07e 100644 --- a/dev-lang/cm3-bin/files/cm3.cfg +++ b/dev-lang/cm3-bin/files/cm3.cfg @@ -1,8 +1,4 @@ -% Copyright 1996 Critical Mass, Inc. All rights reserved. -% For definitions of variables see cm3.cfg--default - -%M3_PROFILING = TRUE -%M3_PROFILING = FALSE +% cm3 config file readonly TARGET = "GENTOO_TARGET" if M3_PROFILING @@ -49,11 +45,10 @@ readonly INSTALL_IMPLS = TRUE SYSTEM_LIBS = { "LIBC" : [ "-lm" ], - "FLEX-BISON" : [ "-L/usr/lib", "-lfl" ], - "OPENGL" : [ "-L/usr/lib", "-lGLU", "-lGL", "-lXext" ], - "MOTIF" : [ "-L/usr/X11R6/lib", "-lXm" ], - "X11" : [ "-L/usr/X11R6/lib", "-lXaw", "-lXmu", "-lXext", - "-lXt", "-lSM", "-lICE", "-lX11" ], + "FLEX-BISON" : [ "-lfl" ], + "OPENGL" : [ "-lGLU", "-lGL", "-lXext" ], + "MOTIF" : [ "-lXm" ], + "X11" : [ "-lXaw", "-lXmu", "-lXext", "-lXt", "-lSM", "-lICE", "-lX11" ], % "POSTGRES95" : [ ] % "ODBC" : [ ] "TCP" : [ ] @@ -62,9 +57,9 @@ SYSTEM_LIBS = { SYSTEM_LIBORDER = [ "OPENGL", "DECPEX", "MOTIF", "X11", "TCP", "ODBC", "POSTGRES95", "FLEX-BISON", "LEX-YACC", "LIBC" ] -readonly SYSTEM_CC = "/usr/bin/gcc" -readonly SYSTEM_AR = "/usr/bin/ar" -readonly SYSTEM_ASM = "/usr/bin/as" +readonly SYSTEM_CC = "gcc" +readonly SYSTEM_AR = "ar" +readonly SYSTEM_ASM = "as" readonly m3back = "@" & BIN_USE & "/cm3cg" diff --git a/dev-lang/cm3-bin/files/digest-cm3-bin-5.2.7_pre050331 b/dev-lang/cm3-bin/files/digest-cm3-bin-5.2.7_pre050331 new file mode 100644 index 000000000000..16799bee5be9 --- /dev/null +++ b/dev-lang/cm3-bin/files/digest-cm3-bin-5.2.7_pre050331 @@ -0,0 +1 @@ +MD5 d0c2f6cd8e0d5d90aa613dc00f3994df cm3-min-POSIX-LINUXLIBC6-d5.2.7-2005-03-31.tgz 5307142 |