summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2005-12-03 21:03:59 +0000
committerCarsten Lohrke <carlo@gentoo.org>2005-12-03 21:03:59 +0000
commit2945e4e328e7915d474134ca3f8bf45e61485937 (patch)
treeb96b025bdaceb8173b41db3054348235fc60416b /dev-lang
parentRemoved old version. (diff)
downloadhistorical-2945e4e328e7915d474134ca3f8bf45e61485937.tar.gz
historical-2945e4e328e7915d474134ca3f8bf45e61485937.tar.bz2
historical-2945e4e328e7915d474134ca3f8bf45e61485937.zip
version bump
Package-Manager: portage-2.0.53
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/smarteiffel/ChangeLog8
-rw-r--r--dev-lang/smarteiffel/Manifest14
-rw-r--r--dev-lang/smarteiffel/files/digest-smarteiffel-2.2_rc11
-rw-r--r--dev-lang/smarteiffel/smarteiffel-2.2_rc1.ebuild101
4 files changed, 117 insertions, 7 deletions
diff --git a/dev-lang/smarteiffel/ChangeLog b/dev-lang/smarteiffel/ChangeLog
index b3d4cc883c0b..a77fd2fa0fe7 100644
--- a/dev-lang/smarteiffel/ChangeLog
+++ b/dev-lang/smarteiffel/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/smarteiffel
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/ChangeLog,v 1.16 2005/05/04 11:00:24 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/ChangeLog,v 1.17 2005/12/03 21:03:59 carlo Exp $
+
+*smarteiffel-2.2_rc1 (03 Dec 2005)
+
+ 03 Dec 2005; Carsten Lohrke <carlo@gentoo.org>
+ +smarteiffel-2.2_rc1.ebuild:
+ version bump
04 May 2005; David Holm <dholm@gentoo.org> smarteiffel-2.0_rc2.ebuild:
Added to ~ppc.
diff --git a/dev-lang/smarteiffel/Manifest b/dev-lang/smarteiffel/Manifest
index 6553bdf787a0..869d449c1e4a 100644
--- a/dev-lang/smarteiffel/Manifest
+++ b/dev-lang/smarteiffel/Manifest
@@ -1,10 +1,12 @@
-MD5 a7426ad157cb8ac5683151b423d89ab7 ChangeLog 3110
-MD5 d69310e04c23327b2e72ce63d0279c0f smarteiffel-1.0.ebuild 2130
-MD5 d027ccde2ebc313d41a91a699044733c smarteiffel-1.0_beta5.ebuild 2229
-MD5 3c93ded265cf997556d78f95f834c429 smarteiffel-1.1.ebuild 2373
-MD5 c4c708e3dc384f836a21bfea63ae3288 metadata.xml 162
-MD5 c46453c3f2401d5d60dd3f345a644f04 smarteiffel-2.0_rc2.ebuild 2725
+MD5 3ad2f796d3cc9e81d86d1abfc1dbd237 ChangeLog 3242
MD5 ac711f98b4db909cc9a1f5caac836200 files/digest-smarteiffel-1.0 56
MD5 5eb607a2acf270cd997783730d6280f4 files/digest-smarteiffel-1.0_beta5 74
MD5 8e77136ea7437bc6665796429795e5a3 files/digest-smarteiffel-1.1 56
MD5 36e9f5dae78d0038a62ec283d005f07d files/digest-smarteiffel-2.0_rc2 64
+MD5 d104b254b70fcd6e476ffd10ea350493 files/digest-smarteiffel-2.2_rc1 73
+MD5 c4c708e3dc384f836a21bfea63ae3288 metadata.xml 162
+MD5 d69310e04c23327b2e72ce63d0279c0f smarteiffel-1.0.ebuild 2130
+MD5 d027ccde2ebc313d41a91a699044733c smarteiffel-1.0_beta5.ebuild 2229
+MD5 3c93ded265cf997556d78f95f834c429 smarteiffel-1.1.ebuild 2373
+MD5 c46453c3f2401d5d60dd3f345a644f04 smarteiffel-2.0_rc2.ebuild 2725
+MD5 9d72cf8df6175137073ace7fbfb1523b smarteiffel-2.2_rc1.ebuild 2789
diff --git a/dev-lang/smarteiffel/files/digest-smarteiffel-2.2_rc1 b/dev-lang/smarteiffel/files/digest-smarteiffel-2.2_rc1
new file mode 100644
index 000000000000..a81331ce78ae
--- /dev/null
+++ b/dev-lang/smarteiffel/files/digest-smarteiffel-2.2_rc1
@@ -0,0 +1 @@
+MD5 ff5ee85f95a07e6f396341414921db25 SmartEiffel-2-2-rc1.tar.bz2 7065278
diff --git a/dev-lang/smarteiffel/smarteiffel-2.2_rc1.ebuild b/dev-lang/smarteiffel/smarteiffel-2.2_rc1.ebuild
new file mode 100644
index 000000000000..03b20d60de5b
--- /dev/null
+++ b/dev-lang/smarteiffel/smarteiffel-2.2_rc1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/smarteiffel-2.2_rc1.ebuild,v 1.1 2005/12/03 21:03:59 carlo Exp $
+
+inherit toolchain-funcs multilib
+
+
+MY_PV="${PV/./-}"
+S="${WORKDIR}/SmartEiffel"
+
+DESCRIPTION="GNU Eiffel compiler"
+HOMEPAGE="http://smarteiffel.loria.fr/"
+SRC_URI="http://www.loria.fr/~colnet/SmartEiffel/SmartEiffel-${MY_PV/_/-}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64 ~sparc ~ppc"
+IUSE="doc tcc"
+
+DEPEND="tcc? ( >=dev-lang/tcc-0.9.14 )"
+
+# Destination directory to hold most of the SmartEiffel distribution.
+SE_DIR="/usr/$(get_libdir)/SmartEiffel"
+
+src_compile() {
+ use tcc && CFLAGS=""
+ use tcc && COMPILER=tcc || COMPILER="$(tc-getCC)"
+ 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 nice 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 0; #main menu
+ echo 1; # configure
+ echo 1; echo "${S}/sys/system.se"; #set configuration file
+ echo 4; echo "${S}/bin/"; # set bin dir
+ echo 5; echo "${S}/sys/"; # set Sys dir
+ echo 6; echo "${S}/sys/"; # set Short dir
+ echo 7; # configure environment variables
+ echo 1;
+ echo "path_tutorial";
+ echo "${S}/tutorial/"
+ echo 1;
+ echo "path_tools";
+ echo "${S}/tools/";
+ echo 1;
+ echo "path_lib";
+ echo "${S}/lib/";
+ echo 0;
+ echo 0; #exit menu
+ echo 5; #save conf file
+ echo 6; echo
+ echo 0; 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}:" ${S}/sys/system.se || 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
+ rm ${S}/bin/READ_ME.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 use doc; then
+ einfo "Installing documentation"
+ dodir /usr/share/doc/${PF}
+ cp -a ${S}/{man,misc,tutorial,READ_ME.txt} ${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
+}