public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/giac/
Date: Sat, 25 Jun 2011 17:22:09 +0000 (UTC)	[thread overview]
Message-ID: <3b63e21d0c3bfe7f4bc888cc4664832de1077fc0.jlec@gentoo> (raw)

commit:     3b63e21d0c3bfe7f4bc888cc4664832de1077fc0
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 16:44:31 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 16:44:31 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3b63e21d

Cleaned ebuild

(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 70EB7916)

---
 sci-mathematics/giac/ChangeLog         |    5 +++-
 sci-mathematics/giac/giac-0.9.2.ebuild |   41 ++++++++++++++++---------------
 2 files changed, 25 insertions(+), 21 deletions(-)

diff --git a/sci-mathematics/giac/ChangeLog b/sci-mathematics/giac/ChangeLog
index b9938a5..65e10b1 100644
--- a/sci-mathematics/giac/ChangeLog
+++ b/sci-mathematics/giac/ChangeLog
@@ -1,7 +1,10 @@
-# ChangeLog for sci-mathematics/frama-c
+# ChangeLog for sci-mathematics/giac
 # 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/giac-0.9.2.ebuild b/sci-mathematics/giac/giac-0.9.2.ebuild
index 428faae..a1e4f23 100644
--- a/sci-mathematics/giac/giac-0.9.2.ebuild
+++ b/sci-mathematics/giac/giac-0.9.2.ebuild
@@ -2,27 +2,30 @@
 # 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"
 
+LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
 IUSE="doc examples fltk"
 
-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"
+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}"
 
 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\*`
@@ -32,26 +35,24 @@ src_prepare(){
 }
 
 src_install() {
-	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
+	default
+	mv "${D}"/usr/bin/{aide,giac-help}
+	rm "${D}"/usr/bin/*cas_help
 	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
 }
-



             reply	other threads:[~2011-06-25 17:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-25 17:22 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-28 19:11 [gentoo-commits] proj/sci:master commit in: sci-mathematics/giac/ Andrew Ammerlaan
2016-11-23  9:46 Marius Brehler
2015-02-08 21:07 Christoph Junghans
2014-09-16 17:01 Christoph Junghans
2014-09-02 21:19 Jauhien Piatlicki
2014-08-19 21:51 Christoph Junghans
2014-08-19 21:51 Christoph Junghans
2014-08-19 21:51 Christoph Junghans
2014-08-19 21:51 Christoph Junghans
2014-08-10  8:05 Justin Lecher
2014-08-10  8:05 Justin Lecher
2014-08-10  8:05 Justin Lecher
2014-08-10  8:05 Justin Lecher
2013-01-14 14:10 Jonathan-Christofer Demay
2012-02-06 14:35 Jonathan-Christofer Demay
2011-05-16 10:33 Jonathan-Christofer Demay
2011-05-12  5:12 Jonathan-Christofer Demay
2011-05-12  3:18 Jonathan-Christofer Demay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3b63e21d0c3bfe7f4bc888cc4664832de1077fc0.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox