diff options
Diffstat (limited to 'app-emacs/thumbs/thumbs-1.8.ebuild')
-rw-r--r-- | app-emacs/thumbs/thumbs-1.8.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-emacs/thumbs/thumbs-1.8.ebuild b/app-emacs/thumbs/thumbs-1.8.ebuild new file mode 100644 index 000000000000..a03e0c5ef50a --- /dev/null +++ b/app-emacs/thumbs/thumbs-1.8.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/thumbs/thumbs-1.8.ebuild,v 1.1 2003/09/25 04:51:05 mkennedy Exp $ + +inherit elisp + +IUSE="" + +DESCRIPTION="Emacs thumbnail previewer for image files" +HOMEPAGE="http://www.emacswiki.org/cgi-bin/wiki.pl?ThumbsMode" +SRC_URI="mirror://gentoo/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +DEPEND="virtual/emacs + media-gfx/imagemagick" + +S=${WORKDIR}/${P} + +SITEFILE=50thumbs-gentoo.el + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/thumbs.el-gentoo.patch +} + +src_compile() { + emacs --batch -f batch-byte-compile --no-site-file --no-init-file *.el +} + +src_install() { + elisp-install ${PN} *.el *.elc + elisp-site-file-install ${FILESDIR}/${SITEFILE} +} + |