summaryrefslogtreecommitdiff
blob: 7d292ea65ec6eff4555b05ceafff1f407a4e6a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/emms/emms-1.0.20051204.ebuild,v 1.1 2005/12/06 20:36:29 mkennedy Exp $

inherit elisp

DESCRIPTION="EMMS is the Emacs Multimedia System"
HOMEPAGE="http://www.gnu.org/software/emms/ http://www.emacswiki.org/cgi-bin/wiki/EMMS"
SRC_URI="mirro://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64 ~sparc"
IUSE=""

RDEPEND="virtual/emacs"
DEPEND="${RDEPEND}
	sys-apps/texinfo"

# EMMS can use almost anything for playing media files therefore the dependency
# posibilities are so broad that we refrain from setting anything explicitly in
# DEPEND/RDEPEND.

S="${WORKDIR}/emms"

src_compile() {
	make EMACS=emacs DESTDIR=/usr/share/emacs/site-lisp/emms || die
}

src_install() {
	elisp-install emms *.{el,elc}
	elisp-site-file-install ${FILESDIR}/50emms-gentoo.el
	dodoc AUTHORS README RELEASE
	doinfo *.info*
	dobin *-wrapper
}