public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/lisp:master commit in: dev-lisp/newlisp/, dev-lisp/newlisp/files/
@ 2014-01-20 14:18 José María Alonso
  0 siblings, 0 replies; 2+ messages in thread
From: José María Alonso @ 2014-01-20 14:18 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/lisp:master commit in: dev-lisp/newlisp/, dev-lisp/newlisp/files/
@ 2015-07-01  9:00 José María Alonso
  0 siblings, 0 replies; 2+ messages in thread
From: José María Alonso @ 2015-07-01  9:00 UTC (permalink / raw
  To: gentoo-commits

commit:     85a51700537739c026ebca13f796afb9787a23b2
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  1 09:03:23 2015 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Wed Jul  1 09:03:23 2015 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=85a51700

dev-lisp/newlisp: bump to version 10.6.2

 .../files/newlisp-makefile-install-10.6.2.patch    | 14 +++++
 dev-lisp/newlisp/newlisp-10.6.2.ebuild             | 67 ++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/dev-lisp/newlisp/files/newlisp-makefile-install-10.6.2.patch b/dev-lisp/newlisp/files/newlisp-makefile-install-10.6.2.patch
new file mode 100644
index 0000000..c3b9215
--- /dev/null
+++ b/dev-lisp/newlisp/files/newlisp-makefile-install-10.6.2.patch
@@ -0,0 +1,14 @@
+diff -Nuar a/makefile_original_install b/makefile_original_install
+--- a/makefile_original_install	2015-01-19 18:10:12.000000000 +0100
++++ b/makefile_original_install	2015-06-22 12:59:33.639980437 +0200
+@@ -31,7 +31,9 @@
+ 	-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.6.2.ebuild b/dev-lisp/newlisp/newlisp-10.6.2.ebuild
new file mode 100644
index 0000000..ee9e41b
--- /dev/null
+++ b/dev-lisp/newlisp/newlisp-10.6.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils multilib toolchain-funcs
+
+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="~amd64 ~x86"
+IUSE="libffi unicode"
+
+RDEPEND="sys-libs/readline:0
+	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}"
+}
+
+getlibffipath() {
+	local version=$(best_version dev-libs/libffi)
+
+	version=$(echo ${version} | cut -d/ -f 2)
+	echo "/usr/$(get_libdir)/${version}"
+}
+
+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
+		sed -i '/strip newlisp/d' makefile_build || die
+	else
+		./configure-alt --prefix="${D}/usr"
+		sed -i '/$(STRIP) $(TARG)/d' makefile_build || die
+	fi
+	if use libffi ; then
+		sed -i "s|/usr/local/lib/libffi-3.0.13|$(getlibffipath)|" makefile_build || die
+	fi
+}
+
+src_compile() {
+	emake CC=$(tc-getCC)
+}
+src_install() {
+	make prefix="${D}/usr" install
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-01  9:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-01  9:00 [gentoo-commits] proj/lisp:master commit in: dev-lisp/newlisp/, dev-lisp/newlisp/files/ José María Alonso
  -- strict thread matches above, loose matches on Subject: below --
2014-01-20 14:18 José María Alonso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox