summaryrefslogtreecommitdiff
blob: af4d6847719bf3a6cab09aa9bda49a91103c4f45 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/liece/liece-2.0.0_alpha20030526.ebuild,v 1.5 2004/06/24 22:16:45 agriffis Exp $

inherit elisp

DESCRIPTION="Liece is a client implementation of IRC (Internet Relay Chat, RFC 1459)."
HOMEPAGE="http://www.unixuser.org/~ueno/liece/"
SRC_URI="mirror://gentoo/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
# This is unstable branch taken from CVS snapshot, so please not to
# mark it stable at any point. btw, I recommend you to use app-emacs/riece ;)
KEYWORDS="~x86 alpha ~sparc ~ppc"
IUSE=""

DEPEND="virtual/emacs
	>=app-emacs/apel-10.6"

S="${WORKDIR}/${PN}"

src_unpack() {

	unpack ${A}
	cp ${FILESDIR}/delegate.el ${S}/lisp
}

src_compile() {

	econf --with-lispdir=${D}/${SITELISP} || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	einstall PREFIX=${D}/usr LISPDIR=${D}/${SITELISP} \
		|| die "install failed"
	elisp-install ${PN} lisp/delegate.el*
	elisp-site-file-install ${FILESDIR}/60liece-gentoo.el \
		|| die "elisp-site-file-install failed"

	dodoc AUTHORS INSTALL README
}