glossaries-4.12-r1.ebuild 945 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit latex-package
  5. DESCRIPTION="Create glossaries and lists of acronyms"
  6. HOMEPAGE="http://www.ctan.org/pkg/glossaries/"
  7. SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.zip"
  8. LICENSE="LPPL-1.2"
  9. SLOT="0"
  10. KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~s390 ~sh ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
  11. IUSE="doc examples"
  12. RDEPEND="dev-lang/perl
  13. dev-texlive/texlive-latexrecommended
  14. >=dev-texlive/texlive-latexextra-2012
  15. >=dev-texlive/texlive-genericextra-2014"
  16. DEPEND="${RDEPEND}
  17. app-arch/unzip"
  18. TEXMF="/usr/share/texmf-site"
  19. S=${WORKDIR}/${PN}
  20. src_install() {
  21. latex-package_src_doinstall styles
  22. dobin makeglossaries
  23. dodoc CHANGES README
  24. if use doc ; then
  25. latex-package_src_doinstall pdf
  26. fi
  27. if use examples ; then
  28. docinto examples
  29. dodoc samples/*.tex
  30. fi
  31. }