You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
748 B

  1. # Copyright 1999-2021 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. inherit git-r3
  5. DESCRIPTION="Collection of Gentoo eclass manpages"
  6. HOMEPAGE="https://github.com/mgorny/eclass-to-manpage"
  7. SRC_URI=""
  8. EGIT_REPO_URI="https://anongit.gentoo.org/git/repo/gentoo.git
  9. https://github.com/gentoo/gentoo.git"
  10. LICENSE="GPL-2"
  11. SLOT="0"
  12. KEYWORDS=""
  13. BDEPEND="sys-apps/gawk
  14. sys-apps/groff"
  15. src_unpack() {
  16. git-r3_fetch
  17. git-r3_fetch "https://github.com/mgorny/eclass-to-manpage"
  18. git-r3_checkout '' '' '' eclass
  19. git-r3_checkout "https://github.com/mgorny/eclass-to-manpage"
  20. }
  21. src_compile() {
  22. emake ECLASSDIR=eclass
  23. }
  24. src_install() {
  25. emake install ECLASSDIR=eclass DESTDIR="${D}" PREFIX="${EPREFIX}/usr"
  26. }