diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2006-12-09 21:53:12 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2006-12-09 21:53:12 +0000 |
commit | 675de7ab81aab9e835f485c0abdea4a55019629b (patch) | |
tree | 9e1320e50385746a2c094121a4b6e56f3d505540 /dev-lisp/gcl | |
parent | Stable on sparc, x86. See bug #157477. (diff) | |
download | gentoo-2-675de7ab81aab9e835f485c0abdea4a55019629b.tar.gz gentoo-2-675de7ab81aab9e835f485c0abdea4a55019629b.tar.bz2 gentoo-2-675de7ab81aab9e835f485c0abdea4a55019629b.zip |
Sync up with Debian versioning; Remove extraneous USE flags.
(Portage version: 2.1.2_rc2-r5)
Diffstat (limited to 'dev-lisp/gcl')
-rw-r--r-- | dev-lisp/gcl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lisp/gcl/files/digest-gcl-2.6.7-r2 | 9 | ||||
-rw-r--r-- | dev-lisp/gcl/gcl-2.6.7-r2.ebuild | 109 |
3 files changed, 124 insertions, 1 deletions
diff --git a/dev-lisp/gcl/ChangeLog b/dev-lisp/gcl/ChangeLog index faf0040bda66..1405a6d594cc 100644 --- a/dev-lisp/gcl/ChangeLog +++ b/dev-lisp/gcl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/gcl # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/ChangeLog,v 1.39 2006/11/29 15:42:17 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/ChangeLog,v 1.40 2006/12/09 21:53:12 mkennedy Exp $ + +*gcl-2.6.7-r2 (09 Dec 2006) + + 09 Dec 2006; Matthew Kennedy <mkennedy@gentoo.org> +gcl-2.6.7-r2.ebuild: + Sync up with Debian versioning; Remove extraneous USE flags. 29 Nov 2006; Christian Faulhammer <opfer@gentoo.org> gcl-2.6.7.ebuild, gcl-2.6.7-r1.ebuild: diff --git a/dev-lisp/gcl/files/digest-gcl-2.6.7-r2 b/dev-lisp/gcl/files/digest-gcl-2.6.7-r2 new file mode 100644 index 000000000000..ba669825cf40 --- /dev/null +++ b/dev-lisp/gcl/files/digest-gcl-2.6.7-r2 @@ -0,0 +1,9 @@ +MD5 9d16c9987986e1382576e7e7ef384535 gcl.info.tgz 678468 +RMD160 16e1f3ffd080a6801f82612ff66789a3ec9e21a7 gcl.info.tgz 678468 +SHA256 06e60fcc99b09ffb66364569d0331b1f2549804d5d09582c6e18fd27f29bcb57 gcl.info.tgz 678468 +MD5 ec7061fca245f0f4312a684ce586a6e6 gcl_2.6.7-32.diff.gz 14463119 +RMD160 fe20465f30c968558edddf493780fb401b7c42a8 gcl_2.6.7-32.diff.gz 14463119 +SHA256 5041b40bd96a0c73b70022831e6a697e00b64f572bca66d5a6c24978a879678e gcl_2.6.7-32.diff.gz 14463119 +MD5 c0f42e1f391162e5ac90912a70e8ecc3 gcl_2.6.7.orig.tar.gz 8193901 +RMD160 b61b5c8325389c47bc37ae77fa8f99491e5e5d36 gcl_2.6.7.orig.tar.gz 8193901 +SHA256 2aa134bc03f12ad03f40666ad00db78b8b9c195cf2cf0b3db4d176158f722c06 gcl_2.6.7.orig.tar.gz 8193901 diff --git a/dev-lisp/gcl/gcl-2.6.7-r2.ebuild b/dev-lisp/gcl/gcl-2.6.7-r2.ebuild new file mode 100644 index 000000000000..fc75f40e4ad1 --- /dev/null +++ b/dev-lisp/gcl/gcl-2.6.7-r2.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/gcl-2.6.7-r2.ebuild,v 1.1 2006/12/09 21:53:12 mkennedy Exp $ + +inherit elisp-common flag-o-matic autotools + +DEB_PV=32 + +DESCRIPTION="GNU Common Lisp" +HOMEPAGE="http://www.gnu.org/software/gcl/gcl.html" +SRC_URI="http://ftp.debian.org/debian/pool/main/g/gcl/gcl_${PV}.orig.tar.gz + http://ftp.debian.org/debian/pool/main/g/gcl/gcl_${PV}-${DEB_PV}.diff.gz + ftp://ftp.gnu.org/pub/gnu/gcl/${PN}.info.tgz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64 ~sparc" +IUSE="emacs readline debug X tk doc ansi" + +RDEPEND="emacs? ( virtual/emacs ) + readline? ( sys-libs/readline ) + >=dev-libs/gmp-4.1 + tk? ( dev-lang/tk ) + X? ( || ( ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw ) virtual/x11 ) )" + +DEPEND="$RDEPEND + doc? ( virtual/tetex ) + >=app-text/texi2html-1.64 + >=sys-devel/autoconf-2.52" + +src_unpack() { + unpack ${A} + epatch gcl_${PV}-${DEB_PV}.diff + sed -ie "s/gcl-doc/${PF}/g" ${S}/info/makefile +} + +src_compile() { + export SANDBOX_ON=0 + local myconfig="" + # Hardened gcc may automatically use PIE building, which does not + # work for this package so far + filter-flags "-fPIC" + if use tk; then + myconfig="${myconfig} --enable-tkconfig=/usr/lib --enable-tclconfig=/usr/lib" + fi + myconfig="${myconfig} + --enable-locbfd + --disable-dynsysbfd + --disable-statsysbfd + --enable-dynsysgmp + `use_enable readline readline` + `use_with X x` + `use_enable debug debug` + `use_enable ansi ansi` + --enable-xdr=no + --enable-infodir=/usr/share/info + --enable-emacsdir=/usr/share/emacs/site-lisp/gcl" + einfo "Configuring with the following: +${myconfig}" + econf ${myconfig} || die + make || die + sed -e 's,@EXT@,,g' debian/in.gcl.1 >gcl.1 +} + +src_install() { + export SANDBOX_ON=0 + make DESTDIR=${D} install || die + + rm -rf ${D}/usr/lib/${P}/info + mv ${D}/default.el elisp/ + + if use emacs; then + mv elisp/add-default.el ${T}/50gcl-gentoo.el + elisp-site-file-install ${T}/50gcl-gentoo.el + elisp-install ${PN} elisp/* + fperms 0644 /usr/share/emacs/site-lisp/gcl/* + else + rm -rf ${D}/usr/share/emacs + fi + + dosed /usr/bin/gcl + fperms 0755 /usr/bin/gcl + + # fix the GCL_TK_DIR=/var/tmp/portage/${P}/image// + dosed /usr/lib/${P}/gcl-tk/gcltksrv + fperms 0755 /usr/lib/${P}/gcl-tk/gcltksrv + + #repair gcl.exe symlink + #rm ${D}/usr/bin/gcl.exe + dosym ../lib/${P}/unixport/saved_gcl /usr/bin/gcl.exe + + dodoc readme* RELEASE* ChangeLog* doc/* + + for i in ${D}/usr/share/doc/gcl-{tk,si}; do + mv $i ${D}/usr/share/doc/${PF} + done + + doman gcl.1 + doinfo info/*.info* + + find ${D}/usr/lib/gcl-${PV}/ -type f \( -perm 640 -o -perm 750 \) -exec chmod 0644 '{}' \; +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |