public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dongxu Li" <dongxuli2011@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/acl2/
Date: Wed, 13 Apr 2011 20:16:27 +0000 (UTC)	[thread overview]
Message-ID: <bcb8c4dbdc455d200ddcfd86600f65c5b9bc6cea.dongxuli@gentoo> (raw)

commit:     bcb8c4dbdc455d200ddcfd86600f65c5b9bc6cea
Author:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
AuthorDate: Wed Apr 13 20:14:47 2011 +0000
Commit:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
CommitDate: Wed Apr 13 20:14:47 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=bcb8c4db

sci-mathematics/acl2: have to build books in place

---
 sci-mathematics/acl2/ChangeLog       |    3 +++
 sci-mathematics/acl2/acl2-4.2.ebuild |   22 ++++++++++------------
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/sci-mathematics/acl2/ChangeLog b/sci-mathematics/acl2/ChangeLog
index 7f7beaf..48176d9 100644
--- a/sci-mathematics/acl2/ChangeLog
+++ b/sci-mathematics/acl2/ChangeLog
@@ -4,6 +4,9 @@
 
 *acl2-4.2 (13 Apr 2011)
 
+  13 Apr 2011; Dongxu Li <dongxuli2011@gmail.com> -files/set-booksdir.patch:
+  Build books in pkg_postinst(), following #49316
+
   12 Apr 2011; Dongxu Li <dongxuli2011@gmail.com> +files/set-booksdir.patch:
   fixed books dir for certificates
 

diff --git a/sci-mathematics/acl2/acl2-4.2.ebuild b/sci-mathematics/acl2/acl2-4.2.ebuild
index 6514a3d..9c13965 100644
--- a/sci-mathematics/acl2/acl2-4.2.ebuild
+++ b/sci-mathematics/acl2/acl2-4.2.ebuild
@@ -2,8 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=2
-
 inherit eutils
 
 DESCRIPTION="ACL2 industrial strength theorem prover"
@@ -28,18 +26,8 @@ RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${PN}-sources"
 
-src_prepare() {
-	epatch "${FILESDIR}"/set-booksdir.patch
-}
-
 src_compile() {
 	emake LISP="sbcl --noinform --noprint" || die "emake failed"
-	cd books
-	einfo
-	einfo "Building certificates..."
-	einfo "(this may take hours to finish)"
-	sleep 5
-	emake ACL2="${S}"/saved_acl2 || die
 }
 
 src_install() {
@@ -62,3 +50,13 @@ src_install() {
 
 	doinfo doc/EMACS/* || die
 }
+
+pkg_postinst() {
+	local BOOKSDIR="/usr/share/acl2/books"
+	cd "${BOOKSDIR}"
+	einfo
+	einfo "Building certificates in ${BOOKSDIR} ..."
+	einfo "(this may take hours to finish)"
+	sleep 5
+	emake || die
+}



             reply	other threads:[~2011-04-13 20:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13 20:16 Dongxu Li [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-10-07 11:20 [gentoo-commits] proj/sci:master commit in: sci-mathematics/acl2/ Andrew Ammerlaan
2021-09-20  8:52 Andrew Ammerlaan
2021-09-20  8:52 Andrew Ammerlaan
2021-03-20 10:44 Andrew Ammerlaan
2021-01-13 21:06 Andrew Ammerlaan
2020-10-02 15:55 Aisha Tammy
2015-06-16 13:32 Justin Lecher
2015-06-06 10:23 Justin Lecher
2014-11-13  0:15 Christoph Junghans
2013-12-10 16:41 Justin Lecher
2013-12-09 15:06 Justin Lecher
2011-08-15 18:02 Dongxu Li
2011-08-15 17:52 Dongxu Li
2011-08-15 17:14 Kacper Kowalik
2011-07-07 19:19 Dongxu Li
2011-07-07 19:14 Dongxu Li
2011-06-25 17:21 Justin Lecher
2011-04-12 17:26 Justin Lecher

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=bcb8c4dbdc455d200ddcfd86600f65c5b9bc6cea.dongxuli@gentoo \
    --to=dongxuli2011@gmail.com \
    --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