summaryrefslogtreecommitdiff
path: root/gsl/gsl_1.4.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-02-19 19:54:48 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-02-19 19:54:48 +0000
commit318feb8965eab4060583894b993a268d7465aca2 (patch)
tree0f34df9ed2535b4b4bc5684f8c10c11cc4ed18b2 /gsl/gsl_1.4.oe
parentbf7a81ef6e194c8f169c7835790f642294326f86 (diff)
add qplot 2.0.1 (qtopia/opie calculator)
BKrev: 403514888BYqndB5sc-S099AWcAeng
Diffstat (limited to 'gsl/gsl_1.4.oe')
-rw-r--r--gsl/gsl_1.4.oe21
1 files changed, 21 insertions, 0 deletions
diff --git a/gsl/gsl_1.4.oe b/gsl/gsl_1.4.oe
index e69de29bb2..f78bf056b6 100644
--- a/gsl/gsl_1.4.oe
+++ b/gsl/gsl_1.4.oe
@@ -0,0 +1,21 @@
+DESCRIPTION=GNU Scientific Library
+SECTION=libs
+PRIORITY=optional
+LICENSE=GPL
+RDEPENDS=libc6
+DEPENDS=virtual/libc
+
+SRC_URI = http://www.mirror.ac.uk/sites/sources.redhat.com/pub/${PN}/${P}.tar.gz
+
+inherit autotools libtool pkgconfig
+
+do_stage() {
+ oe_runmake DESTDIR=${S}/.install install
+ oe_soinstall .install/usr/lib/libgslcblas.so.0.0.0 ${STAGING_LIBDIR}/
+ oe_soinstall .install/usr/lib/libgsl.so.0.5.0 ${STAGING_LIBDIR}/
+ cp -a .install/usr/include/* ${STAGING_INCDIR}/
+
+ cat gsl-config | sed -e "s,-I/usr/include,-I${STAGING_INCDIR} -I${STAGING_INCDIR}/python2.3," \
+ | sed -e "s,-L/usr/lib,-L${STAGING_LIBDIR}," > ${STAGING_BINDIR}/gsl-config
+ chmod a+rx ${STAGING_BINDIR}/gsl-config
+}