ChangeLog

# ChangeLog for dev-lang/smarteiffel
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/ChangeLog,v 1.24 2007/08/22 21:29:50 truedfx Exp $

22 Aug 2007; Harald van Dijk smarteiffel-2.2.ebuild:
Use -fno-strict-overflow with GCC 4.2 (#189782)

13 Aug 2007; Tobias Scherbaum
smarteiffel-1.1.ebuild:
ppc. stable

09 Feb 2007; Diego Pettenò ChangeLog:
Regenerate digest in Manifest2 format.

09 Feb 2007; Diego Pettenò ChangeLog:
Regenerate digest in Manifest2 format.

*smarteiffel-2.2 (04 Jan 2006)

04 Jan 2006; Carsten Lohrke
-smarteiffel-2.2_rc3.ebuild, +smarteiffel-2.2.ebuild:
version bump

17 Dec 2005; Carsten Lohrke smarteiffel-1.0.ebuild,
smarteiffel-1.1.ebuild, smarteiffel-2.2_rc3.ebuild:
whitespace, restore cp -a > cp -pPR fix

*smarteiffel-2.2_rc3 (17 Dec 2005)

17 Dec 2005; Carsten Lohrke
-smarteiffel-1.0_beta5.ebuild, -smarteiffel-2.0_rc2.ebuild,
-smarteiffel-2.2_rc1.ebuild, +smarteiffel-2.2_rc3.ebuild:
version bump

16 Dec 2005; Diego Pettenò
smarteiffel-2.2_rc1.ebuild:
Remove GNUish cp -a call. Bug #103487.

*smarteiffel-2.2_rc1 (03 Dec 2005)

03 Dec 2005; Carsten Lohrke
+smarteiffel-2.2_rc1.ebuild:
version bump

04 May 2005; David Holm smarteiffel-2.0_rc2.ebuild:
Added to ~ppc.

24 Apr 2005; Michael Hanselmann
smarteiffel-1.0.ebuild:
Stable on ppc.

29 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

23 Oct 2004; Jason Wever smarteiffel-2.0_rc2.ebuild:
Added ~sparc keyword.

07 Oct 2004; George Shapovalov smarteiffel-2.0_rc2.ebuild, files/digest-smarteiffel-2.0_rc2, metadata.xml :
new version (#64545)
added ~amd64 to KEYWORDS

01 Jul 2004; Jeremy Huddleston
smarteiffel-1.0.ebuild, smarteiffel-1.1.ebuild:
virtual/glibc -> virtual/libc

03 Jun 2004; Aron Griffis smarteiffel-1.0.ebuild,
smarteiffel-1.1.ebuild:
Fix use invocation

15 May 2004; Bryan Østergaard smarteiffel-1.1.ebuild:
Stable on alpha.

*smarteiffel-1.1 (16 Oct 2003)

16 Oct 2003; George Shapovalov smarteiffel-1.1.ebuild :
new version
this one has rewamped install "script", required quite some tweaking.
Testing extremely welcome!

10 Jun 2003; smarteiffel-1.0.ebuild:
Took tcc out of IUSE since it was commented out in the ebuild.

*smarteiffel-1.0_beta5 (16 Nov 2002)
*smarteiffel-1.0 (09 Dec 2002)

09 Dec 2002; George Shapovalov smarteiffel-1.0.ebuild, files/digest-smarteiffel-1.0 :

smarteiffel-1.0 released, version update. Changes to ebuild (by Per Wigren ):
* 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 smarteiffel-1.0_beta5.ebuild, files/digest-smarteiffel-1.0_beta5 :
cleaned up and committed to portage.

22 Nov 2002; Steven Wong :
- Fixed empty loadpath.UNIX being generated.
- lib/ and tools/ directories are installed now.
- Fixed links in html documentation; they don't reference to "../man"
anymore.

16 Nov 2002; Steven Wong :
Ebuild submitted by me. There is still some murky places
standard-wise, but I think it's better to leave this mostly for the
SmartEiffel developers to clean out. Big thanks to George Shapovalov
who did all the researching to find how other
distributions packaged this strange beast. :)

Manifest

DIST SmartEiffel-2-2.tar.bz2 6742805 RMD160 10a73f326107cd02e3a17265bd8e7d9c2de32430 SHA1 b8566b9657ec00d440ea71489e19d539c8d9ec94 SHA256 13631e16829fd05c28c3f1709b7181e306d00c4799c4a46e94b8a431421ae1a5
DIST se-1.0.tgz 1358700 RMD160 f813bd03c6a88b029556e886dc476744f9785a90 SHA1 a0079d55d504bd8e3ee4b2aaebe5b4ac2e62297f SHA256 792fdfe4658fb599b3e1c4564ad553a12c8189e4bc15c68d6c77f1ac918a235f
DIST se-1.1.tgz 1577970 RMD160 f7de0f66ded6cb1890dc1293a93354fd1bd08b1e SHA1 07d521cee5fb55f3417e35431d2b06f8ba6e6af3 SHA256 747a68261398899dfad14e89df8aee7ec937edd5280c35f9ac2de07bde12b247
EBUILD smarteiffel-1.0.ebuild 2133 RMD160 97b02b4ab8580ac49d78f5aea761667b1c430ebf SHA1 56d2e6b40e4475a370b6797cbd09f1011447fc2d SHA256 e52285bc73386ce86f2ad175a5adaee0386da7ca31e0a8855ecdb1bedba05c80
EBUILD smarteiffel-1.1.ebuild 2376 RMD160 615f59f0b7cf6524adaf96cd9b0641118a2fa980 SHA1 cba79e74d93dfd65799db56860aded2320332b29 SHA256 13a82382de48acc53578a5bc1903aff9b8cc26df38f069181b42771b013ae044
EBUILD smarteiffel-2.2.ebuild 2881 RMD160 e19c50cca1d19716c05759200b13034244fcb7ec SHA1 bd0a04a4c38f9ad92605d076ca49d4a5e1d1052a SHA256 8a1e6bfebfecc62f50657947cdd67db44a156b164afd5a5954ed00b0f8494a95
MISC ChangeLog 4351 RMD160 04d65dae1f615c0bee6a7a5511ea01a7aef819cf SHA1 d407974574819c499dd7241f06159c2984c1e08b SHA256 c63d4d2da7f59c94b499e52092754f2b9c8f433a05f90774c71d7c741bb99ff6
MISC metadata.xml 162 RMD160 359e0d4ecc394cc3fb84227087c1a518d9e6c347 SHA1 d4c1c09bc042bd11d40dc634bf52edb93e4cf6f0 SHA256 444ece0c3cb4908c78c6588147078383d3636d1b3da9a20111ec03c5640eefdb

metadata.xml




lang-misc

smarteiffel-1.0.ebuild

# 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-1.0.ebuild,v 1.11 2005/12/17 01:21:09 carlo 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/libc"

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 , 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 -pPR ${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 use doc; then
einfo "Installing documentation"
dodir /usr/share/doc/${PF}
cp -pPR ${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
}

smarteiffel-1.1.ebuild

# Copyright 1999-2007 Gentoo Foundation
# 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.8 2007/08/13 20:16:58 dertobi123 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="alpha ppc ~sparc ~x86"

DEPEND="tcc? ( >=dev-lang/tcc-0.9.14 )"
#DEPEND="virtual/libc"

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 -pPR ${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 use doc; then
einfo "Installing documentation"
dodir /usr/share/doc/${PF}
cp -pPR ${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
}

smarteiffel-2.2.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/smarteiffel-2.2.ebuild,v 1.3 2007/08/22 21:29:50 truedfx Exp $

inherit flag-o-matic 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"

pkg_setup() {
# bug #189782
append-flags $(test-flags -fno-strict-overflow)
}

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 -pPR ${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 -pPR ${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
}