summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-08-05 09:02:40 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-08-05 09:02:40 +0000
commit1303b06291809ae547a60dd68ef39238151fd20e (patch)
tree42692523f3c2d3848b7cbe4f4dfa07fbda0a791c /dev-lisp/ecls
parentrepoman'd (diff)
downloadgentoo-2-1303b06291809ae547a60dd68ef39238151fd20e.tar.gz
gentoo-2-1303b06291809ae547a60dd68ef39238151fd20e.tar.bz2
gentoo-2-1303b06291809ae547a60dd68ef39238151fd20e.zip
repoman'd
Diffstat (limited to 'dev-lisp/ecls')
-rw-r--r--dev-lisp/ecls/ecls-0.2.ebuild65
1 files changed, 31 insertions, 34 deletions
diff --git a/dev-lisp/ecls/ecls-0.2.ebuild b/dev-lisp/ecls/ecls-0.2.ebuild
index 4049633349f6..414392b25af3 100644
--- a/dev-lisp/ecls/ecls-0.2.ebuild
+++ b/dev-lisp/ecls/ecls-0.2.ebuild
@@ -1,58 +1,55 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ecls-0.2.ebuild,v 1.5 2002/08/01 11:59:01 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ecls-0.2.ebuild,v 1.6 2002/08/05 09:02:40 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Embeddable Common Lisp 'Spain'"
SRC_URI="mirror://sourceforge/ecls/${P}.tgz"
-PROVIDE="virtual/commonlisp"
+SLOT="0"
+LICENSE="BSD LGPL-2"
+KEYWORDS="x86"
-#src_unpack() {
-#
-# unpack ${P}.tgz
-#
-# mv ${WORKDIR}/ecls-0.2 ${S}
-#}
+PROVIDE="virtual/commonlisp"
src_compile() {
- local myconf
+ local myconf
- if [ "`use X`" ]
- then
- myopts="${myconf} --with-x"
- else
- myopts="${myconf} --with-x=no"
- fi
+ if [ "`use X`" ]
+ then
+ myconf="${myconf} --with-x"
+ else
+ myconf="${myconf} --with-x=no"
+ fi
- echo ${CXXFLAGS} ${CFLAGS} ${LSPCFLAGS}
- try ./configure --prefix=/usr $myopts
+ echo ${CXXFLAGS} ${CFLAGS} ${LSPCFLAGS}
+ ./configure --prefix=/usr ${myconf} || die
- #
- # FIXME: This really needs to be triple-verified
- #
- local mcpu=`echo ${CFLAGS} | sed "s/.*-mcpu=\([a-zA-Z0-9]*\).*/\1/g"`
- local march=`echo ${CFLAGS} | sed "s/.*-march=\([a-zA-Z0-9]*\).*/\1/g"`
+ #
+ # FIXME: This really needs to be triple-verified
+ #
+ local mcpu=`echo ${CFLAGS} | sed "s/.*-mcpu=\([a-zA-Z0-9]*\).*/\1/g"`
+ local march=`echo ${CFLAGS} | sed "s/.*-march=\([a-zA-Z0-9]*\).*/\1/g"`
- echo ${mcpu} -- ${march}
+ echo ${mcpu} -- ${march}
- for i in build/{crs,c,gc,tk,.}/Makefile ; do
- cp $i $i.orig ;
- cat $i.orig | sed -e "s:-mcpu= 1:-mcpu=${mcpu}:g" | sed -e "s:-march= 1:-march=${march}:g" > $i ;
- done
+ for i in build/{crs,c,gc,tk,.}/Makefile ; do
+ cp $i $i.orig ;
+ cat $i.orig | sed -e "s:-mcpu= 1:-mcpu=${mcpu}:g" | sed -e "s:-march= 1:-march=${march}:g" > $i ;
+ done
- cp build/gabriel/Makefile build/gabriel/Makefile.orig
- cat build/gabriel/Makefile.orig | sed "s/FILES =.*/FILES = ECLSc ECLSi/g" > build/gabriel/Makefile
+ cp build/gabriel/Makefile build/gabriel/Makefile.orig
+ cat build/gabriel/Makefile.orig | sed "s/FILES =.*/FILES = ECLSc ECLSi/g" > build/gabriel/Makefile
- touch LGPL
+ touch LGPL
- alias lisp='echo NOT INSTALLED!'
- echo ${CXXFLAGS} ${CFLAGS}
- try make
+ alias lisp='echo NOT INSTALLED!'
+ echo ${CXXFLAGS} ${CFLAGS}
+ make || die
}
src_install() {
- try make install PREFIX=${D}/usr
+ make install PREFIX=${D}/usr || die
}