blob: 823ad22d39c8495637a46e85bf254b5176368bba (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/rudel/rudel-0.3_pre20110721.ebuild,v 1.1 2011/07/22 08:20:16 ulm Exp $
EAPI=4
NEED_EMACS=23
inherit elisp
DESCRIPTION="Collaborative editing environment for GNU Emacs"
HOMEPAGE="http://rudel.sourceforge.net/
http://www.emacswiki.org/emacs/Rudel"
# snapshot of bzr://rudel.bzr.sourceforge.net/bzrroot/rudel/trunk
SRC_URI="mirror://gentoo/${P}.tar.xz
http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="virtual/emacs-cedet"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}"
SITEFILE="60${PN}-gentoo.el"
src_compile() {
${EMACS} ${EMACSFLAGS} -l rudel-compile.el || die
}
src_install() {
local dir
for dir in . adopted infinote jupiter obby socket telepathy tls \
xmpp zeroconf
do
insinto "${SITELISP}/${PN}/${dir}"
doins ${dir}/*.{el,elc}
done
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
insinto "${SITEETC}/${PN}"
doins -r icons
dodoc README INSTALL ChangeLog TODO doc/card.pdf
}
pkg_postinst() {
elisp_pkg_postinst
elog "Connections to Gobby servers require the gnutls-cli program"
elog "(net-libs/gnutls)."
elog "The Avahi daemon (net-dns/avahi) is required for automatic"
elog "session discovery and advertising."
}
|