From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B3007138247 for ; Mon, 20 Jan 2014 14:18:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A20C0E0F36; Mon, 20 Jan 2014 14:18:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B9A8E0F36 for ; Mon, 20 Jan 2014 14:18:29 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2502A33F97E for ; Mon, 20 Jan 2014 14:18:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id DC2D81871B for ; Mon, 20 Jan 2014 14:18:26 +0000 (UTC) From: "José María Alonso" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "José María Alonso" Message-ID: <1390227546.1272672107e3ab6e285f3687a54cae5cc1b6f944.nimiux@gentoo> Subject: [gentoo-commits] proj/lisp:master commit in: dev-lisp/newlisp/, dev-lisp/newlisp/files/ X-VCS-Repository: proj/lisp X-VCS-Files: dev-lisp/newlisp/files/newlisp-makefile-install-10.5.4.patch dev-lisp/newlisp/newlisp-10.5.4.ebuild X-VCS-Directories: dev-lisp/newlisp/ dev-lisp/newlisp/files/ X-VCS-Committer: nimiux X-VCS-Committer-Name: José María Alonso X-VCS-Revision: 1272672107e3ab6e285f3687a54cae5cc1b6f944 X-VCS-Branch: master Date: Mon, 20 Jan 2014 14:18:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4654b4a6-d43c-4776-ba55-50426096693d X-Archives-Hash: db9009624eab9bcc7c7429900ae85466 commit: 1272672107e3ab6e285f3687a54cae5cc1b6f944 Author: Chema Alonso gentoo org> AuthorDate: Mon Jan 20 14:19:06 2014 +0000 Commit: José María Alonso gentoo 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 +}