1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools elisp
8 COMMIT="c4f4986aac6c339e03b9e56a5dfc7c8f5c0bb5e0"
9 DESCRIPTION="An interface to search CD-ROM books and network dictionaries"
10 HOMEPAGE="https://lookup2.github.io/lookup2/"
11 SRC_URI="https://github.com/lookup2/lookup2/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
17 BDEPEND="sys-apps/texinfo"
19 S="${WORKDIR}/lookup2-${COMMIT}"
20 SITEFILE="50${PN}-gentoo.el"
28 econf --with-lispdir="${EPREFIX}${SITELISP}"
36 emake DESTDIR="${D}" install
37 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
38 dodoc AUTHORS NEWS README.md