app-emacs/bbdb - 3.1.2 (emacs)

Search

Package Information

Description:
The Insidious Big Brother Database
Homepage:
https://savannah.nongnu.org/projects/bbdb/
License:
GPL-3+ GPL-1+ FDL-1.3+

Ebuild Details

Version EAPI Keywords Slot
3.1.2 7 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit elisp

DESCRIPTION="The Insidious Big Brother Database"
HOMEPAGE="https://savannah.nongnu.org/projects/bbdb/"
SRC_URI="https://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"

LICENSE="GPL-3+ GPL-1+ FDL-1.3+"
SLOT="0"
IUSE="tex vm"

DEPEND="tex? ( virtual/tex-base )
	vm? ( app-emacs/vm )"
RDEPEND="${DEPEND}"

SITEFILE="50${PN}-gentoo-${PV}.el"
TEXMF="/usr/share/texmf-site"

src_configure() {
	econf \
		--with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
		"$(use_with vm vm-dir "${EPREFIX}${SITELISP}/vm")" \
		EMACS="${EMACS} -q --no-site-file"
}

src_compile() {
	emake -C lisp
}

src_install() {
	emake -C lisp DESTDIR="${D}" install
	elisp-site-file-install "${FILESDIR}/${SITEFILE}"
	doinfo doc/*.info*
	dodoc AUTHORS ChangeLog NEWS README TODO

	if use tex; then
		insinto "${TEXMF}"/tex/plain/${PN}
		doins tex/*.tex
	fi
}

pkg_postinst() {
	elisp-site-regen
	use tex && texconfig rehash
}

pkg_postrm() {
	elisp-site-regen
	use tex && texconfig rehash
}

USE Flags

tex
vm

Dependencies

DEPEND

tex? ( virtual/tex-base )
	vm? ( app-emacs/vm )

RDEPEND

tex? ( virtual/tex-base )
	vm? ( app-emacs/vm )

Manifest for 3.1.2

Type File Size Source URLs
DIST bbdb-3.1.2.tar.gz 378935 bytes https://download.savannah.gnu.org/releases/bbdb/bbdb-3.1.2.tar.gz