summaryrefslogtreecommitdiff
blob: f328bb8edded836041845cc336171d399f3575ed (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/xtla/xtla-0.9_p38.ebuild,v 1.1 2005/01/26 16:44:52 mkennedy Exp $

inherit elisp

XTLA_VERSION=${PV:0:3}
XTLA_PATCH=${PF:10}
XTLA_REVISION=${PN}--main--${PV:0:3}--patch-${PF:10}

# There are many XTLA archives.	 The archive used here is the current mainline
# from Matthieu MOY, http://www-verimag.imag.fr/~moy/arch/public/.	To compute a
# new snapshot for the source archive, determine the latest revision and "tla
# get" it.	Then make an archive from the directory "tla get" creates, using an
# archive file name based on the directory name.

IUSE=""

DESCRIPTION="XTLA - The Emacs interface to GNU TLA"
HOMEPAGE="http://wiki.gnuarch.org/moin.cgi/xtla
	https://gna.org/projects/xtla-el
	http://www.gnu.org/software/gnu-arch/"
SRC_URI="mirror://gentoo/${PN}--main--${PV:0:3}--patch-${PF:10}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"

DEPEND="virtual/emacs
	sys-devel/autoconf
	sys-devel/automake"

RDEPEND="virtual/emacs
	dev-util/tla"

S=${WORKDIR}/${XTLA_REVISION}

SITEFILE=50xtla-gentoo.el

src_compile() {
	autoreconf && ./configure --prefix=/usr
	make || die
}

src_install() {
	elisp-install ${PN} lisp/*.{el,elc}
	elisp-site-file-install ${FILESDIR}/${SITEFILE}
	doinfo texinfo/xtla.info
	dodoc COPYING INSTALL docs/*
}