remember-2.0.ebuild 853 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit elisp
  5. DESCRIPTION="Simplify writing short notes in emacs"
  6. HOMEPAGE="http://www.emacswiki.org/emacs/RememberMode"
  7. SRC_URI="http://download.gna.org/${PN}-el/${P}.tar.gz"
  8. LICENSE="GPL-3+ FDL-1.2+"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~ppc ~x86"
  11. IUSE="bbdb planner"
  12. # tests require bibl-mode, restrict for now
  13. RESTRICT="test"
  14. RDEPEND="bbdb? ( app-emacs/bbdb )
  15. planner? ( app-emacs/planner )"
  16. DEPEND="${RDEPEND}"
  17. ELISP_PATCHES="${PN}-1.9-make-elc.patch"
  18. SITEFILE="50${PN}-gentoo.el"
  19. ELISP_TEXINFO="remember.texi remember-extra.texi"
  20. DOCS="ChangeLog* NEWS"
  21. src_compile() {
  22. local EL="remember.el read-file-name.el"
  23. use bbdb && EL+=" remember-bbdb.el"
  24. use planner && EL+=" remember-planner.el remember-experimental.el"
  25. emake EL="${EL}"
  26. }