summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-27 08:29:00 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-27 08:29:00 +0000
commit1be2b9feb82bb1e8d5ed6f9efd498955cfb3aa7e (patch)
tree0c53c615a3e0affdf0bb79d7cac5bba10cf10c3f /app-sci
parentRemove old version that needs an old subversion (which would need a neon vers... (diff)
downloadgentoo-2-1be2b9feb82bb1e8d5ed6f9efd498955cfb3aa7e.tar.gz
gentoo-2-1be2b9feb82bb1e8d5ed6f9efd498955cfb3aa7e.tar.bz2
gentoo-2-1be2b9feb82bb1e8d5ed6f9efd498955cfb3aa7e.zip
clean up crap and dont use $CC
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/xfoil/xfoil-6.94-r1.ebuild21
-rw-r--r--app-sci/xfoil/xfoil-6.94.ebuild22
2 files changed, 21 insertions, 22 deletions
diff --git a/app-sci/xfoil/xfoil-6.94-r1.ebuild b/app-sci/xfoil/xfoil-6.94-r1.ebuild
index 54a0f0dfcbf4..816717399ef1 100644
--- a/app-sci/xfoil/xfoil-6.94-r1.ebuild
+++ b/app-sci/xfoil/xfoil-6.94-r1.ebuild
@@ -1,44 +1,43 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/xfoil/xfoil-6.94-r1.ebuild,v 1.2 2004/03/30 19:58:15 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/xfoil/xfoil-6.94-r1.ebuild,v 1.3 2004/04/27 08:29:00 vapier Exp $
inherit gcc
MY_PN="${PN}"
-MY_PN_upper="`echo ${PN} | tr '[:lower:]' '[:upper:]'`"
MY_PV="${PV/./}"
MY_P="${MY_PN}${MY_PV}"
-MY_P_upper="${MY_PN_upper}${MY_PV}"
-DESCRIPTION="XFOIL - design and analysis of subsonic isolated airfoils"
+DESCRIPTION="design and analysis of subsonic isolated airfoils"
HOMEPAGE="http://raphael.mit.edu/xfoil/"
-SRC_FILE="${MY_P}.tar.gz"
-SRC_URI="${HOMEPAGE}/${SRC_FILE} doc? ( ${HOMEPAGE}/xfoil_doc.ps ${HOMEPAGE}/xfoil_doc.pdf )"
+SRC_URI="http://raphael.mit.edu/xfoil/${MY_P}.tar.gz
+ doc? ( http://raphael.mit.edu/xfoil/xfoil_doc.ps
+ http://raphael.mit.edu/xfoil/xfoil_doc.pdf )"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
+
DEPEND="virtual/blas
app-sci/blas-config
virtual/x11"
-
RDEPEND="virtual/x11"
-S=${WORKDIR}/${MY_P_upper}
-
+S=${WORKDIR}/XFOIL${MY_PV}
src_unpack() {
unpack ${A}
cd ${S}
[ -z "$FC" ] && FC=g77 # because gcc-config doesn't do it yet
[ -z "${FFLAGS}" ] && FFLAGS="${CFLAGS}" # because gcc-config doesn't do it yet
- echo "CC = ${CC}" >>plotlib/config.make
+ echo "CC = $(gcc-getCC)" >>plotlib/config.make
echo "FC = ${FC}" >>plotlib/config.make
echo "CFLAGS += ${CFLAGS}" >>plotlib/config.make
echo "FFLAGS += ${FFLAGS}" >>plotlib/config.make
sed -i bin/Makefile \
-e "s/^\(FC.*\)/FC = ${FC}/g" \
- -e "s/^\(CC.*\)/CC = ${CC}/g" \
+ -e "s/^\(CC.*\)/CC = $(gcc-getCC)/g" \
-e "s/^\(FFLAGS .*\)/FFLAGS = ${FFLAGS}/g" \
-e "s/^\(FFLOPT .*\)/FFLOPT = \$(FFLAGS)/g" \
-e "s/^\(FFLAGS2 .*\)/FFLAGS2 = \$(FFLAGS)/g"
diff --git a/app-sci/xfoil/xfoil-6.94.ebuild b/app-sci/xfoil/xfoil-6.94.ebuild
index 6a35ddc1ccf0..059ecadf386f 100644
--- a/app-sci/xfoil/xfoil-6.94.ebuild
+++ b/app-sci/xfoil/xfoil-6.94.ebuild
@@ -1,41 +1,41 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/xfoil/xfoil-6.94.ebuild,v 1.2 2004/03/30 19:58:15 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/xfoil/xfoil-6.94.ebuild,v 1.3 2004/04/27 08:29:00 vapier Exp $
inherit gcc
MY_PN="${PN}"
-MY_PN_upper="`echo ${PN} | tr '[:lower:]' '[:upper:]'`"
MY_PV="${PV/./}"
MY_P="${MY_PN}${MY_PV}"
-MY_P_upper="${MY_PN_upper}${MY_PV}"
-DESCRIPTION="XFOIL - design and analysis of subsonic isolated airfoils"
+DESCRIPTION="design and analysis of subsonic isolated airfoils"
HOMEPAGE="http://raphael.mit.edu/xfoil/"
-SRC_FILE="${MY_P}.tar.gz"
-SRC_URI="${HOMEPAGE}/${SRC_FILE} doc? ( ${HOMEPAGE}/xfoil_doc.ps ${HOMEPAGE}/xfoil_doc.pdf )"
+SRC_URI="http://raphael.mit.edu/xfoil/${MY_P}.tar.gz
+ doc? ( http://raphael.mit.edu/xfoil/xfoil_doc.ps
+ http://raphael.mit.edu/xfoil/xfoil_doc.pdf )"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
+
DEPEND="app-sci/blas
- virtual/x11"
-#RDEPEND=""
-S=${WORKDIR}/${MY_P_upper}
+ virtual/x11"
+S=${WORKDIR}/XFOIL${MY_PV}
src_unpack() {
unpack ${A}
cd ${S}
[ -z "$FC" ] && FC=g77 # because gcc-config doesn't do it yet
[ -z "${FFLAGS}" ] && FFLAGS="${CFLAGS}" # because gcc-config doesn't do it yet
- echo "CC = ${CC}" >>plotlib/config.make
+ echo "CC = $(gcc-getCC)" >>plotlib/config.make
echo "FC = ${FC}" >>plotlib/config.make
echo "CFLAGS += ${CFLAGS}" >>plotlib/config.make
echo "FFLAGS += ${FFLAGS}" >>plotlib/config.make
sed -i bin/Makefile \
-e "s/^\(FC.*\)/FC = ${FC}/g" \
- -e "s/^\(CC.*\)/CC = ${CC}/g" \
+ -e "s/^\(CC.*\)/CC = $(gcc-getCC)/g" \
-e "s/^\(FFLAGS .*\)/FFLAGS = ${FFLAGS}/g" \
-e "s/^\(FFLOPT .*\)/FFLOPT = \$(FFLAGS)/g" \
-e "s/^\(FFLAGS2 .*\)/FFLAGS2 = \$(FFLAGS)/g"