aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan-Christofer Demay <jcdemay@gmail.com>2012-02-06 15:35:25 +0100
committerJonathan-Christofer Demay <jcdemay@gmail.com>2012-02-06 15:35:25 +0100
commit3184835175ce3568ee1e10d1bc705a23ca618a8b (patch)
treed2e0fc19d929532651aa6e8f38f2d1f81a1c2d84 /sci-mathematics
parentsci-mathematics/gappalib-coq: version bump (diff)
downloadsci-3184835175ce3568ee1e10d1bc705a23ca618a8b.tar.gz
sci-3184835175ce3568ee1e10d1bc705a23ca618a8b.tar.bz2
sci-3184835175ce3568ee1e10d1bc705a23ca618a8b.zip
sci-mathematics/giac: QA fixes
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/giac/ChangeLog5
-rw-r--r--sci-mathematics/giac/Manifest5
-rw-r--r--sci-mathematics/giac/giac-0.9.2.ebuild41
-rw-r--r--sci-mathematics/giac/metadata.xml2
4 files changed, 26 insertions, 27 deletions
diff --git a/sci-mathematics/giac/ChangeLog b/sci-mathematics/giac/ChangeLog
index 65e10b10e..b9938a583 100644
--- a/sci-mathematics/giac/ChangeLog
+++ b/sci-mathematics/giac/ChangeLog
@@ -1,10 +1,7 @@
-# ChangeLog for sci-mathematics/giac
+# ChangeLog for sci-mathematics/frama-c
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
- 25 Jun 2011; Justin Lecher <jlec@gentoo.org> giac-0.9.2.ebuild:
- Cleaned ebuild
-
16 May 2011; J.-C. Demay <jcdemay@gmail.com>
giac-0.9.2.ebuild, +metadata.xml:
QA fixes
diff --git a/sci-mathematics/giac/Manifest b/sci-mathematics/giac/Manifest
index 5e5e940ed..83cecadb0 100644
--- a/sci-mathematics/giac/Manifest
+++ b/sci-mathematics/giac/Manifest
@@ -1 +1,4 @@
-DIST giac-0.9.2.tar.gz 22657411 RMD160 58264abf8b15c9a4f9f612f871787d08f754af56 SHA1 7eb0af9eab7bdfacd97942a952657cf47a250e21 SHA256 dbbb8b4996aa79ecedee8ca5406a92f69c8da7d868e5b4fba2aa5f8745b4d6bf
+DIST giac-0.9.2.tar.gz 22804530 RMD160 36cbc88c4472cc2d0fcfbf02bdc9f11381c16112 SHA1 9a65efcc454331a42f9977c21b2ecd5e06cf55c1 SHA256 359dc731f91869e70a766235b29dc60d47f89204746ccfa69821d361a94dcefd
+EBUILD giac-0.9.2.ebuild 1523 RMD160 96efee50fb222f10a1845b9445d6503eac2b08fd SHA1 00caca74c3f80533e8de0789fad468288ff11e56 SHA256 1ec86cf9531ca7a4ee9068ed3ee500acc10ff84b304e96f4aa29af33af98d30b
+MISC ChangeLog 219 RMD160 2609a7a2328b01fe8089f82b8d73e1d16d67bfac SHA1 73d54afa9e8f8808d6d4c7432b043d2b1580885d SHA256 f45a491256c85857a1235decfd7ebc8513007934de9b455779f7e6ff47175665
+MISC metadata.xml 662 RMD160 6211873854a7b62f46485b68f52a1aefbc5c2dc9 SHA1 8c80b6346f56ad5250095e5fea5bf80c08864e8f SHA256 412112d6e9cf060c5d2a46e5197e026371e700a1a5cae7a2dfbf0320388ec4ed
diff --git a/sci-mathematics/giac/giac-0.9.2.ebuild b/sci-mathematics/giac/giac-0.9.2.ebuild
index a1e4f23d6..428faaefe 100644
--- a/sci-mathematics/giac/giac-0.9.2.ebuild
+++ b/sci-mathematics/giac/giac-0.9.2.ebuild
@@ -2,30 +2,27 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI="4"
DESCRIPTION="A free C++ CAS (Computer Algebra System) library and its interfaces"
HOMEPAGE="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
SRC_URI="ftp://ftp-fourier.ujf-grenoble.fr/xcas/${P}.tar.gz"
-
LICENSE="GPL-2"
+
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="doc examples fltk"
-DEPEND="
- dev-libs/gmp
- sys-libs/readline
- dev-libs/mpfr
- sci-libs/gsl
- >=sci-mathematics/pari-2.3
- >=dev-libs/ntl-5.2
- fltk? ( x11-libs/fltk:1 )"
-RDEPEND="${DEPEND}"
+RDEPEND=">=dev-libs/gmp-3
+ >=sys-libs/readline-4.2
+ fltk? ( >=x11-libs/fltk-1.1.9 )
+ dev-libs/mpfr
+ sci-libs/gsl
+ >=sci-mathematics/pari-2.3
+ >=dev-libs/ntl-5.2"
src_prepare(){
- sed \
- -e "s:\$(prefix)/share:\$(DESTDIR)\$(prefix)/share:g" \
+ sed -e "s:\$(prefix)/share:\$(DESTDIR)\$(prefix)/share:g" \
-e "s:config.h \$(includedir)/giac:config.h \$(DESTDIR)\$(includedir)/giac:g" \
-e "s:\$(DESTDIR)\$(DESTDIR):\$(DESTDIR):g" \
-i `find -name Makefile\*`
@@ -35,24 +32,26 @@ src_prepare(){
}
src_install() {
- default
- mv "${D}"/usr/bin/{aide,giac-help}
- rm "${D}"/usr/bin/*cas_help
+ emake DESTDIR="${D}" install || die "emake install failed"
+ mv ${D}/usr/bin/{aide,giac-help}
+ rm ${D}/usr/bin/*cas_help
+ dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README TROUBLES
if use !fltk; then
- rm "${D}"/usr/bin/x*
+ rm ${D}/usr/bin/x*
fi
if use !doc; then
- rm -R "${D}"/usr/share/doc/giac "${D}"/usr/share/giac/doc/
+ rm -R ${D}/usr/share/doc/giac ${D}/usr/share/giac/doc/
else
for LANG in el en es fr pt; do
if echo ${LINGUAS} | grep -v $LANG &> /dev/null; then
- rm -R "${D}"/usr/share/giac/doc/$LANG
+ rm -R ${D}/usr/share/giac/doc/$LANG
else
- ln "${D}"/usr/share/giac/doc/aide_cas "${D}"/usr/share/giac/doc/$LANG/aide_cas
+ ln ${D}/usr/share/giac/doc/aide_cas ${D}/usr/share/giac/doc/$LANG/aide_cas
fi
done
fi
if use !examples; then
- rm -R "${D}"/usr/share/giac/examples
+ rm -R ${D}/usr/share/giac/examples
fi
}
+
diff --git a/sci-mathematics/giac/metadata.xml b/sci-mathematics/giac/metadata.xml
index d5ab63a82..6238c8a76 100644
--- a/sci-mathematics/giac/metadata.xml
+++ b/sci-mathematics/giac/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci-mathematics</herd>
+ <herd>sci</herd>
<longdescription>
Giac is a free computer algebra system that can be used to perform
computer algebra, function graphs, interactive geometry (2-d and 3-d),