summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-10-17 03:18:44 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-10-17 03:18:44 +0000
commit4c15a736840469e423fedd1dc426f38f8f057ffc (patch)
tree4a9fbe94555cfe1f75865e9640dcf68ce9e4518c
parentBump (diff)
downloadgentoo-2-4c15a736840469e423fedd1dc426f38f8f057ffc.tar.gz
gentoo-2-4c15a736840469e423fedd1dc426f38f8f057ffc.tar.bz2
gentoo-2-4c15a736840469e423fedd1dc426f38f8f057ffc.zip
new version
-rw-r--r--dev-lang/smarteiffel/ChangeLog9
-rw-r--r--dev-lang/smarteiffel/Manifest8
-rw-r--r--dev-lang/smarteiffel/files/digest-smarteiffel-1.11
-rw-r--r--dev-lang/smarteiffel/smarteiffel-1.0.ebuild4
-rw-r--r--dev-lang/smarteiffel/smarteiffel-1.1.ebuild84
5 files changed, 100 insertions, 6 deletions
diff --git a/dev-lang/smarteiffel/ChangeLog b/dev-lang/smarteiffel/ChangeLog
index 6a03b9eeb9c6..ed0f38aff3bf 100644
--- a/dev-lang/smarteiffel/ChangeLog
+++ b/dev-lang/smarteiffel/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/smarteiffel
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/ChangeLog,v 1.5 2003/07/11 22:14:08 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/ChangeLog,v 1.6 2003/10/17 03:18:36 george Exp $
+
+*smarteiffel-1.1 (16 Oct 2003)
+
+ 16 Oct 2003; George Shapovalov <george@gentoo.org> smarteiffel-1.1.ebuild :
+ new version
+ this one has rewamped install "script", required quite some tweaking.
+ Testing extremely welcome!
10 Jun 2003; <msterret@gentoo.org> smarteiffel-1.0.ebuild:
Took tcc out of IUSE since it was commented out in the ebuild.
diff --git a/dev-lang/smarteiffel/Manifest b/dev-lang/smarteiffel/Manifest
index 0a466bafbfcf..fef79055b5e1 100644
--- a/dev-lang/smarteiffel/Manifest
+++ b/dev-lang/smarteiffel/Manifest
@@ -1,5 +1,7 @@
-MD5 87b8a58d93e96dc4ba0f2ff9616a6bec ChangeLog 1926
-MD5 7f27d77f49dac81dacbb749a94814ba7 smarteiffel-1.0.ebuild 2152
+MD5 144673288338223e9f1112560a501323 smarteiffel-1.0.ebuild 2149
MD5 dba74f87dee3cb27dca2fef5921c6095 smarteiffel-1.0_beta5.ebuild 2236
-MD5 ac711f98b4db909cc9a1f5caac836200 files/digest-smarteiffel-1.0 56
+MD5 604a2ec99e53c94909974e06fcda4668 smarteiffel-1.1.ebuild 2389
+MD5 c2e7651a4cc52b2b9db83fc65d1f7221 ChangeLog 2155
MD5 5eb607a2acf270cd997783730d6280f4 files/digest-smarteiffel-1.0_beta5 74
+MD5 ac711f98b4db909cc9a1f5caac836200 files/digest-smarteiffel-1.0 56
+MD5 8e77136ea7437bc6665796429795e5a3 files/digest-smarteiffel-1.1 56
diff --git a/dev-lang/smarteiffel/files/digest-smarteiffel-1.1 b/dev-lang/smarteiffel/files/digest-smarteiffel-1.1
new file mode 100644
index 000000000000..86ee9298d3c6
--- /dev/null
+++ b/dev-lang/smarteiffel/files/digest-smarteiffel-1.1
@@ -0,0 +1 @@
+MD5 7965ce8d9363b88a0d98eba51e910e16 se-1.1.tgz 1577970
diff --git a/dev-lang/smarteiffel/smarteiffel-1.0.ebuild b/dev-lang/smarteiffel/smarteiffel-1.0.ebuild
index 239eaf00b129..dfe49cbe7427 100644
--- a/dev-lang/smarteiffel/smarteiffel-1.0.ebuild
+++ b/dev-lang/smarteiffel/smarteiffel-1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 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.4 2003/06/10 08:12:02 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/smarteiffel-1.0.ebuild,v 1.5 2003/10/17 03:18:36 george Exp $
IUSE="doc"
#IUSE="doc tcc"
@@ -12,7 +12,7 @@ SRC_URI="ftp://ftp.loria.fr/pub/loria/SmartEiffel/se-${PV}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~alpha ~sparc"
+KEYWORDS="x86 ~ppc ~alpha ~sparc"
#DEPEND="tcc? ( >=dev-lang/tcc-0.9.14 )"
DEPEND="virtual/glibc"
diff --git a/dev-lang/smarteiffel/smarteiffel-1.1.ebuild b/dev-lang/smarteiffel/smarteiffel-1.1.ebuild
new file mode 100644
index 000000000000..e5754113a7ad
--- /dev/null
+++ b/dev-lang/smarteiffel/smarteiffel-1.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/smarteiffel-1.1.ebuild,v 1.1 2003/10/17 03:18:36 george Exp $
+
+#IUSE="doc"
+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"
+
+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() {
+ use tcc && CFLAGS=""
+ use tcc && COMPILER=tcc || 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.bin install.c || die
+ #package authors created install directory right next to install.c
+ #how nioe of them!
+ eend $?
+
+ einfo "Running install-program"
+ ( echo #skipping stupid prompt
+ echo 2 #compiler setup
+ use tcc && (
+ echo 11; echo tcc; echo g++
+ )
+ echo 12 #CFLAGS setup
+ echo "${CFLAGS}"
+ echo "${CXXFLAGS}"
+ echo 13 #main menu
+ echo 1; echo 1; echo SmartEiffel.conf; echo 7 #set conf file
+ echo 4 #and saved it
+ echo 5; echo
+ echo 6; echo #leave the menu
+ ) | ./install.bin || die
+ einfo "finished running install"
+
+ #looks like only one file with path definitions, good
+ sed -i -e "s:${S}:${SE_DIR}:" SmartEiffel.conf || die
+}
+
+src_install () {
+ dodir ${SE_DIR}
+ cp -a ${S}/{lib,tools,sys,bin} ${D}/${SE_DIR} || die
+ cp SmartEiffel.conf ${D}/${SE_DIR}
+
+ # Create symlinks to the appropriate executable binaries.
+ dodir /usr/bin
+ rm ${S}/bin/README.txt
+ #since then this became a bin file?
+ 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}/SmartEiffel.conf" > ${D}/etc/env.d/20smarteiffel
+ echo "SmartEiffelDirectory=${SE_DIR}" >> ${D}/etc/env.d/20smarteiffel
+}