summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-10-17 14:31:29 +0000
committerMike Frysinger <vapier@gentoo.org>2002-10-17 14:31:29 +0000
commit66d83b00a018a967c11ee2caab752daea7f6a593 (patch)
tree989efe923e3c224ee006d91f3d9a619fc2da4dbc /app-sci/scilab
parentAdded IUSE. (diff)
downloadgentoo-2-66d83b00a018a967c11ee2caab752daea7f6a593.tar.gz
gentoo-2-66d83b00a018a967c11ee2caab752daea7f6a593.tar.bz2
gentoo-2-66d83b00a018a967c11ee2caab752daea7f6a593.zip
lintool
Diffstat (limited to 'app-sci/scilab')
-rw-r--r--app-sci/scilab/scilab-2.6.ebuild25
1 files changed, 11 insertions, 14 deletions
diff --git a/app-sci/scilab/scilab-2.6.ebuild b/app-sci/scilab/scilab-2.6.ebuild
index 6a0e54255a79..cd55005eb78d 100644
--- a/app-sci/scilab/scilab-2.6.ebuild
+++ b/app-sci/scilab/scilab-2.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/scilab/scilab-2.6.ebuild,v 1.5 2002/10/05 05:39:09 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/scilab/scilab-2.6.ebuild,v 1.6 2002/10/17 14:26:47 vapier Exp $
IUSE="tcltk"
@@ -20,22 +20,19 @@ DEPEND="virtual/x11
src_compile() {
local myopts
- if [ "`use tcltk`" ]
- then
- myopts="--with-tk"
- fi
+ use tcltk && myopts="--with-tk"
./configure \
- --host=${CHOST} \
- --prefix=/usr \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man \
- --sysconfdir=/etc \
- --localstatedir=/var \
- ${myopts} || die "./configure failed"
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ ${myopts} || die "./configure failed"
# HOME must be set to prevent writing to /root directory
- export HOME=/var/tmp/portage/${P}/work
- make all || die
+ export HOME=/var/tmp/portage/${P}/work
+ make all || die
}
src_install () {