Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / giac / giac_0.4.0.oe
1 SECTION = "console/utils"
2 DESCRIPTION = "A free computer algebra system"
3 HOMEPAGE = "http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
4 PRIORITY = "optional"
5 LICENSE = "GPL"
6 MAINTAINER = "Rene Wagner <reenoo@gmx.de>"
7 DEPENDS = "fltk gmp mpfr gsl"
8 #          ntl pari"
9
10 SRC_URI = "ftp://ftp-fourier.ujf-grenoble.fr/xcas/giac_unstable.tgz"
11
12 inherit autotools
13
14 PACKAGES += " lib${PN}"
15 FILES_${PN} = "${bindir} \
16                ${datadir}/${PN}"
17 FILES_lib${PN} = "${libdir}"
18
19 # breaks the build...
20 #EXTRA_OECONF = "--enable-debug=no"
21
22 # skip autoreconf for now (fails due to improper local macros)
23 do_configure() {
24         oe_runconf
25 }
26
27 do_install () {
28         oe_runmake prefix="${D}/${prefix}" \
29                 bindir="${D}/${bindir}" \
30                 libdir="${D}/${libdir}" \
31                 includedir="${D}/${includedir}" \
32                 install
33
34         # put the docs where they belong
35         # might need further investigation in case giac needs
36         # them in the original place
37         install -d ${D}/${datadir}/doc
38         mv ${D}/${datadir}/${PN}/doc ${D}/${datadir}/doc/${PN}
39 }