diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-03-12 11:21:42 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-03-12 15:52:56 +0100 |
commit | b5502b8909787221c050f73efdea35f00fc2dda4 (patch) | |
tree | 84d14618b4ab9a293b07dd25e5f9af09b33bf3c9 /app-emacs/bbdb/bbdb-3.1.2-r2.ebuild | |
parent | www-client/firefox-bin: security cleanup (bug #712182) (diff) | |
download | gentoo-b5502b8909787221c050f73efdea35f00fc2dda4.tar.gz gentoo-b5502b8909787221c050f73efdea35f00fc2dda4.tar.bz2 gentoo-b5502b8909787221c050f73efdea35f00fc2dda4.zip |
app-emacs/bbdb: Don't install the GNU Info file.
It contains only a template with no useful information.
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs/bbdb/bbdb-3.1.2-r2.ebuild')
-rw-r--r-- | app-emacs/bbdb/bbdb-3.1.2-r2.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/app-emacs/bbdb/bbdb-3.1.2-r2.ebuild b/app-emacs/bbdb/bbdb-3.1.2-r2.ebuild new file mode 100644 index 000000000000..f324f803d0c1 --- /dev/null +++ b/app-emacs/bbdb/bbdb-3.1.2-r2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit elisp autotools + +DESCRIPTION="The Insidious Big Brother Database" +HOMEPAGE="https://savannah.nongnu.org/projects/bbdb/" +SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+ GPL-1+" +SLOT="0" +KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" +IUSE="tex vm" +RESTRICT="test" #631700 + +BDEPEND="vm? ( app-emacs/vm )" +RDEPEND="${BDEPEND} + tex? ( virtual/tex-base )" + +SITEFILE="50${PN}-gentoo-${PV}.el" +TEXMF="/usr/share/texmf-site" + +src_prepare() { + eapply "${FILESDIR}"/${P}-no-init.patch + eapply_user + eautoreconf +} + +src_configure() { + econf \ + --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \ + "$(use_with vm vm-dir "${EPREFIX}${SITELISP}/vm")" +} + +src_compile() { + emake -C lisp +} + +src_install() { + emake -C lisp DESTDIR="${D}" install + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + 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 +} |