diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2006-08-18 05:54:02 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2006-08-18 05:54:02 +0000 |
commit | e810794a52ff1db047836b1c12ff3961a25f6572 (patch) | |
tree | 46fdb765f2762af5c6cc5ec25cf2afd39532c9a5 | |
parent | app-editors/emacs-cvs:gzip-el - Compress bundled Emacs Lisp source (diff) | |
download | gentoo-2-e810794a52ff1db047836b1c12ff3961a25f6572.tar.gz gentoo-2-e810794a52ff1db047836b1c12ff3961a25f6572.tar.bz2 gentoo-2-e810794a52ff1db047836b1c12ff3961a25f6572.zip |
Support gzip-el USE flag which will compress the bundled Emacs Lisp source files during installation.
(Portage version: 2.1.1_pre5-r1)
-rw-r--r-- | app-editors/emacs-cvs/ChangeLog | 7 | ||||
-rw-r--r-- | app-editors/emacs-cvs/emacs-cvs-22.0.50-r3.ebuild | 8 |
2 files changed, 12 insertions, 3 deletions
diff --git a/app-editors/emacs-cvs/ChangeLog b/app-editors/emacs-cvs/ChangeLog index 62f52d9fa420..e7354eb314f5 100644 --- a/app-editors/emacs-cvs/ChangeLog +++ b/app-editors/emacs-cvs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-editors/emacs-cvs # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/ChangeLog,v 1.48 2006/08/07 05:24:48 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/ChangeLog,v 1.49 2006/08/18 05:54:02 mkennedy Exp $ + + 18 Aug 2006; Matthew Kennedy <mkennedy@gentoo.org> + emacs-cvs-22.0.50-r3.ebuild: + Support gzip-el USE flag which will compress the bundled Emacs Lisp source + files during installation. *emacs-cvs-22.0.50-r3 (07 Aug 2006) diff --git a/app-editors/emacs-cvs/emacs-cvs-22.0.50-r3.ebuild b/app-editors/emacs-cvs/emacs-cvs-22.0.50-r3.ebuild index 28fa544cefb3..6708c9d2a23f 100644 --- a/app-editors/emacs-cvs/emacs-cvs-22.0.50-r3.ebuild +++ b/app-editors/emacs-cvs/emacs-cvs-22.0.50-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/emacs-cvs-22.0.50-r3.ebuild,v 1.1 2006/08/07 05:24:48 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/emacs-cvs-22.0.50-r3.ebuild,v 1.2 2006/08/18 05:54:02 mkennedy Exp $ ECVS_AUTH="pserver" ECVS_SERVER="cvs.savannah.gnu.org:/sources/emacs" @@ -9,7 +9,7 @@ ECVS_BRANCH="HEAD" inherit elisp-common cvs alternatives flag-o-matic eutils -IUSE="X Xaw3d aqua gif gtk jpeg png spell tiff source" +IUSE="X Xaw3d aqua gif gtk jpeg png spell tiff source gzip-el" S=${WORKDIR}/emacs @@ -141,6 +141,10 @@ EOF EOF elisp-site-file-install 00emacs-cvs-${SLOT}-gentoo.el fi + + if ! use gzip-el; then + find ${D} -type f -name \*.el.gz -print0 |xargs -0 gunzip + fi dodoc BUGS ChangeLog README insinto /usr/share/applications doins ${FILESDIR}/${DFILE} |