summaryrefslogtreecommitdiff
blob: e77363890997cadcf836ed207ffefba87fbde659 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EBZR_REPO_URI="http://bzr.xsteve.at/dvc/"

inherit elisp autotools bzr

DESCRIPTION="New version control backend for distributed systems (like bzr, git)"
HOMEPAGE="http://download.gna.org/dvc/"

LICENSE="GPL-2+"
SLOT="0"

SITEFILE=50${PN}-gentoo.el

src_unpack() {
	bzr_src_unpack
	cd "${S}"
	eautoreconf
}

src_compile() {
	econf --with-lispdir="${D}/${SITELISP}/${PN}" --infodir="${D}/usr/share/info" \
		|| die "econf failed"
	emake MKDIR_P="mkdir -p" || die
}
src_install() {
	emake MKDIR_P="mkdir -p" DESTDIR="${D}" install || die
	elisp-site-file-install "${FILESDIR}/${SITEFILE}"
}