From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QKMPv-0006gB-EV for garchives@archives.gentoo.org; Thu, 12 May 2011 03:18:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B9E01C074; Thu, 12 May 2011 03:18:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CB53F1C074 for ; Thu, 12 May 2011 03:18:15 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C89F1B401E for ; Thu, 12 May 2011 03:18:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 58A7280062 for ; Thu, 12 May 2011 03:18:14 +0000 (UTC) From: "Jonathan-Christofer Demay" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jonathan-Christofer Demay" Message-ID: <5f0d8518e5968d102eff7924645a6da38a95097e.jcdemay@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/giac/ X-VCS-Repository: proj/sci X-VCS-Files: sci-mathematics/giac/giac-0.9.2.ebuild X-VCS-Directories: sci-mathematics/giac/ X-VCS-Committer: jcdemay X-VCS-Committer-Name: Jonathan-Christofer Demay X-VCS-Revision: 5f0d8518e5968d102eff7924645a6da38a95097e Date: Thu, 12 May 2011 03:18:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 73a655f2cbdf5dbb8ab88f87bf979f7b commit: 5f0d8518e5968d102eff7924645a6da38a95097e Author: Jonathan-Christofer Demay gmail com> AuthorDate: Thu May 12 05:16:11 2011 +0000 Commit: Jonathan-Christofer Demay gmail com> CommitDate: Thu May 12 05:16:11 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D5f0d8518 sci-mathematics/giac: new ebuild --- sci-mathematics/giac/giac-0.9.2.ebuild | 48 ++++++++++++++++++++++++++= ++++++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/sci-mathematics/giac/giac-0.9.2.ebuild b/sci-mathematics/gia= c/giac-0.9.2.ebuild new file mode 100644 index 0000000..073d953 --- /dev/null +++ b/sci-mathematics/giac/giac-0.9.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D"4" + +DESCRIPTION=3D"A free C++ CAS (Computer Algebra System) library and its = interfaces" +HOMEPAGE=3D"http://www-fourier.ujf-grenoble.fr/~parisse/giac.html" +SRC_URI=3D"ftp://ftp-fourier.ujf-grenoble.fr/xcas/${P}.tar.gz" +LICENSE=3D"GPL-2" + +SLOT=3D"0" +KEYWORDS=3D"~x86 ~amd64" +IUSE=3D"doc examples fltk" + +RDEPEND=3D">=3Ddev-libs/gmp-3 + >=3Dsys-libs/readline-4.2 + fltk? ( >=3Dx11-libs/fltk-1.1.9 ) + dev-libs/mpfr + sci-libs/gsl + >=3Dsci-mathematics/pari-2.3 + >=3Ddev-libs/ntl-5.2" + +src_prepare(){ + 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\*` +} + +src_install() { + emake DESTDIR=3D"${D}" install || die "emake install failed" + mv ${D}/usr/bin/{aide,giachelp} + dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README TROUBLES + if use !doc; then + 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 + fi + done + fi + if use !examples; then + rm -R ${D}/usr/share/giac/examples + fi +} +