1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit elisp autotools
9 DESCRIPTION="The Insidious Big Brother Database"
10 HOMEPAGE="https://savannah.nongnu.org/projects/bbdb/"
11 #SRC_URI="https://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"
12 SRC_URI="https://git.savannah.nongnu.org/cgit/bbdb.git/snapshot/${MY_P}.tar.gz"
13 S="${WORKDIR}/${MY_P}"
15 LICENSE="GPL-3+ GPL-1+"
17 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
19 RESTRICT="test" #631700
21 BDEPEND="vm? ( app-emacs/vm )"
23 tex? ( virtual/latex-base )"
25 SITEFILE="50${PN}-gentoo-3.2.el"
26 TEXMF="/usr/share/texmf-site"
35 --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
36 "$(use_with vm vm-dir "${EPREFIX}${SITELISP}/vm")"
44 emake -C lisp DESTDIR="${D}" install
45 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
46 dodoc AUTHORS ChangeLog NEWS README TODO
49 insinto "${TEXMF}"/tex/latex/${PN}
56 use tex && texconfig rehash
61 use tex && texconfig rehash