public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "José María Alonso" <nimiux@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/lisp:master commit in: dev-lisp/newlisp/, dev-lisp/newlisp/files/
Date: Mon, 20 Jan 2014 14:18:26 +0000 (UTC)	[thread overview]
Message-ID: <1390227546.1272672107e3ab6e285f3687a54cae5cc1b6f944.nimiux@gentoo> (raw)

commit:     1272672107e3ab6e285f3687a54cae5cc1b6f944
Author:     Chema Alonso <nimiux <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 20 14:19:06 2014 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Mon Jan 20 14:19:06 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=12726721

dev-lisp/newlisp: version bump to 10.5.4 (bug #498186)

---
 .../files/newlisp-makefile-install-10.5.4.patch    | 15 +++++++
 dev-lisp/newlisp/newlisp-10.5.4.ebuild             | 52 ++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-lisp/newlisp/files/newlisp-makefile-install-10.5.4.patch b/dev-lisp/newlisp/files/newlisp-makefile-install-10.5.4.patch
new file mode 100644
index 0000000..fafb8b0
--- /dev/null
+++ b/dev-lisp/newlisp/files/newlisp-makefile-install-10.5.4.patch
@@ -0,0 +1,15 @@
+diff -Nuar a/makefile_original_install b/makefile_original_install
+--- a/makefile_original_install	2013-10-01 17:52:03.000000000 +0200
++++ b/makefile_original_install	2014-01-20 13:04:41.569999708 +0100
+@@ -31,7 +31,10 @@
+ 	-install -d $(datadir)/newlisp/modules
+ 	-install -d $(datadir)/newlisp/util
+ 	-install -d $(datadir)/doc/newlisp
+-	-rm $(bindir)/newlisp
++		-install -d $(datadir)/man
++	-install -d $(datadir)/man/man1
++	-install -d $(bindir)
++
+ 	-install -m 755  newlisp $(bindir)/newlisp-$(VERSION)
+ 	-ln -s $(bindir)/newlisp-$(VERSION) $(bindir)/newlisp
+ 	-install -m 755 util/newlispdoc $(bindir)/newlispdoc

diff --git a/dev-lisp/newlisp/newlisp-10.5.4.ebuild b/dev-lisp/newlisp/newlisp-10.5.4.ebuild
new file mode 100644
index 0000000..d3e6c31
--- /dev/null
+++ b/dev-lisp/newlisp/newlisp-10.5.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils multilib
+
+DESCRIPTION="newLISP - a new generation of Lisp!"
+HOMEPAGE="http://www.newlisp.org/"
+SRC_URI="http://www.newlisp.org/downloads/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="x86 amd64"
+IUSE="libffi unicode"
+
+RDEPEND="sys-libs/readline
+	libffi? ( dev-libs/libffi )"
+DEPEND="${RDEPEND}"
+
+getmakefile() {
+	local arch=""
+	local opts=""
+
+	use amd64 && arch="LP64"
+	use libffi && use unicode && opts="_utf8_ffi"
+	use libffi && ! use unicode && opts="_ffi"
+	! use libffi && use unicode && opts="_utf8"
+
+	use unicode && utf8="utf8"
+	echo "makefile_linux${arch}${opts}"
+}
+
+src_prepare() {
+	epatch "${FILESDIR}/${PN}-makefile-install-${PV}.patch"
+}
+
+src_configure() {
+	local makefile=$(getmakefile)
+	if [[ -f ${makefile} ]] ; then
+		cp "${makefile}" makefile_build || die
+		sed -i 's/CFLAGS/MYCFLAGS/g' makefile_build || die
+		sed -i 's/-O2 -g/$(CFLAGS)/g' makefile_build || die
+	else
+		./configure-alt --prefix="${D}/usr"
+	fi
+}
+
+src_install() {
+	make prefix="${D}/usr" install
+}


             reply	other threads:[~2014-01-20 14:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20 14:18 José María Alonso [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-07-01  9:00 [gentoo-commits] proj/lisp:master commit in: dev-lisp/newlisp/, dev-lisp/newlisp/files/ José María Alonso

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=1390227546.1272672107e3ab6e285f3687a54cae5cc1b6f944.nimiux@gentoo \
    --to=nimiux@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