md5=9a34b924ea10ce0a1d62441ee2bacfff
sha256=80db72ac16463ce084e76dc9aaae5b54ce8db085610c98fe2975c5b8f51a598d
+[ftp://ftp-fourier.ujf-grenoble.fr/xcas/giac-0.8.4.tar.gz]
+md5=c0bdb493cfef3dd058cc3750101a4f47
+sha256=354923541221670d48ea2d713abd3fcad94e7f0d220ac9d53e9bcee0eda6ed4a
+
[http://linuxbrit.co.uk/downloads/giblib-1.2.3.tar.gz]
md5=06ae3113fdfe9f05a642bd844cc85eab
sha256=42eb6bff68e88ef12a7ac2aa69848aeb29a8b69176b3bd3d9d67cf9a1233fe85
--- /dev/null
+DESCRIPTION = "A free computer algebra system"
+HOMEPAGE = "http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
+SECTION = "console/utils"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "fltk gmp mpfr gsl"
+
+SRC_URI = "ftp://ftp-fourier.ujf-grenoble.fr/xcas/giac-${PV}.tar.gz"
+
+inherit autotools
+
+PARALLEL_MAKE = ""
+
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+do_configure() {
+ sed -i -e s:doc::g ${S}/Makefile.am
+ oe_runconf
+ sed -i -e s:doc::g ${S}/Makefile
+}
+
+do_install () {
+ oe_runmake prefix="${D}${prefix}" \
+ bindir="${D}${bindir}" \
+ libdir="${D}${libdir}" \
+ includedir="${D}${includedir}" \
+ install
+}
+
+PACKAGES += " libgiac libxcas"
+
+FILES_${PN} = "${bindir} \
+ ${datadir}/${PN} \
+ ${datadir}/application* \
+ ${datadir}/pixmaps \
+"
+
+FILES_libgiac = "${libdir}/libg*.so.*"
+FILES_libxcas = "${libdir}/libx*.so.*"