summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2002-12-10 08:45:57 +0000
committerGeorge Shapovalov <george@gentoo.org>2002-12-10 08:45:57 +0000
commit946810f81a3eb9d0e4620da0e1b9f6436b3ec185 (patch)
treee48eb9f1f199ad8622d0a1385dbec8a606601a5f /dev-lang/smarteiffel
parentbump (diff)
downloadhistorical-946810f81a3eb9d0e4620da0e1b9f6436b3ec185.tar.gz
historical-946810f81a3eb9d0e4620da0e1b9f6436b3ec185.tar.bz2
historical-946810f81a3eb9d0e4620da0e1b9f6436b3ec185.zip
version update, see ChangeLog for the list of changes
Diffstat (limited to 'dev-lang/smarteiffel')
-rw-r--r--dev-lang/smarteiffel/ChangeLog13
-rw-r--r--dev-lang/smarteiffel/files/digest-smarteiffel-1.01
-rw-r--r--dev-lang/smarteiffel/smarteiffel-1.0.ebuild78
3 files changed, 91 insertions, 1 deletions
diff --git a/dev-lang/smarteiffel/ChangeLog b/dev-lang/smarteiffel/ChangeLog
index fc17427ab0aa..1f136876a16b 100644
--- a/dev-lang/smarteiffel/ChangeLog
+++ b/dev-lang/smarteiffel/ChangeLog
@@ -1,9 +1,20 @@
# ChangeLog for dev-lang/smarteiffel
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/ChangeLog,v 1.1 2002/11/22 08:46:34 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/ChangeLog,v 1.2 2002/12/10 08:45:49 george Exp $
*smarteiffel-1.00beta5 (16 Nov 2002)
+ 09 Dec 2002; George Shapovalov <george@gentoo.org> smarteiffel-1.0.ebuild, files/digest-smarteiffel-1.0 :
+
+ smarteiffel-1.0 released, version update. Changes to ebuild (by Per Wigren <wigren@home.se>):
+ * Support for TinyCC as default compiler using "tcc"-useflag. - problematic at the moment, commented uot (George)
+ * Added a SE_DIR environment-variable so all extra-packages can depend on it.
+ * Changed SE_DIR to /usr/lib/SmartEiffel, because that is the default dir if the
+ SmartEiffel-variable is not set, and a few 3rd-party-packages expect it.
+ * Don't rename compile to se-compile anymore! This breaks ALL 3rd-party-packages!
+ * SmartEiffel is now distributed with versionnumbered filenames so there's no
+ need to rename+mirror anymore! ;)
+
22 Nov 2002; George Shapovalov <george@gentoo.org> smarteiffel-1.0_beta5.ebuild, files/digest-smarteiffel-1.0_beta5 :
cleaned up and committed to portage.
diff --git a/dev-lang/smarteiffel/files/digest-smarteiffel-1.0 b/dev-lang/smarteiffel/files/digest-smarteiffel-1.0
new file mode 100644
index 000000000000..46e78159f90c
--- /dev/null
+++ b/dev-lang/smarteiffel/files/digest-smarteiffel-1.0
@@ -0,0 +1 @@
+MD5 7e72a4e5f26103a894fe73ede371032a se-1.0.tgz 1358700
diff --git a/dev-lang/smarteiffel/smarteiffel-1.0.ebuild b/dev-lang/smarteiffel/smarteiffel-1.0.ebuild
new file mode 100644
index 000000000000..d9b9dbe3fe35
--- /dev/null
+++ b/dev-lang/smarteiffel/smarteiffel-1.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/smarteiffel-1.0.ebuild,v 1.1 2002/12/10 08:45:55 george Exp $
+
+IUSE="doc tcc"
+
+DESCRIPTION="GNU Eiffel compiler"
+HOMEPAGE="http://smarteiffel.loria.fr/"
+
+SRC_URI="ftp://ftp.loria.fr/pub/loria/SmartEiffel/se-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~alpha ~sparc ~sparc64"
+
+#DEPEND="tcc? ( >=dev-lang/tcc-0.9.14 )"
+DEPEND="virtual/glibc"
+
+S="${WORKDIR}/SmartEiffel"
+# Destination directory to hold most of the SmartEiffel distribution.
+SE_DIR="/usr/lib/SmartEiffel"
+
+src_compile() {
+ #tcc did not work for me while processing the ebuild
+ #commenting out until resolved
+ #George Shapovalov <george@gentoo.org>, see #8897
+
+# use tcc && COMPILER=tcc
+# use tcc || COMPILER=gcc
+# use tcc && CFLAGS=""
+ COMPILER=gcc
+ einfo "Using ${COMPILER} as default C-compiler for SmartEiffel!"
+
+ export SmartEiffel="${S}/sys/system.se"
+ export PATH="${S}/bin:${PATH}"
+ cd ${S}
+ ebegin "Compiling install-program"
+ ${COMPILER} ${CFLAGS} -o install install.c || die
+ eend $?
+
+ einfo "Running install-program"
+ ( echo yes
+ echo no
+ echo UNIX
+ echo ${COMPILER}
+ echo ${CFLAGS}
+ echo yes
+ ) | ./install -interactive || die
+
+ # Regenerate a proper loadpath.UNIX file.
+ cp sys/loadpath.UNIX sys/loadpath.UNIX.orig
+ sed -e "s:^${S}:${SE_DIR}:" \
+ sys/loadpath.UNIX.orig > sys/loadpath.UNIX || die
+}
+
+src_install () {
+ dodir ${SE_DIR}
+ cp -a ${S}/{lib,tools,sys,bin} ${D}/${SE_DIR} || die
+
+ # Create symlinks to the appropriate executable binaries.
+ dodir /usr/bin
+ for NAME in ${S}/bin/*; do
+ NAME=`basename ${NAME}`
+ dosym ${SE_DIR}/bin/${NAME} /usr/bin/${NAME}
+ done
+
+ # Install documentation.
+ if [ -n `use doc` ]; then
+ einfo "Installing documentation"
+ dodir /usr/share/doc/${PF}
+ cp -a ${S}/{man,misc,tutorial,READ_ME} ${D}/usr/share/doc/${PF} || die
+ fi
+
+ # Setup 'SmartEiffel' environment variable.
+ dodir /etc/env.d
+ echo "SmartEiffel=${SE_DIR}/sys/system.se" > ${D}/etc/env.d/20smarteiffel
+ echo "SmartEiffelDirectory=${SE_DIR}" >> ${D}/etc/env.d/20smarteiffel
+}