asdf-3.2.0-r1.ebuild 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit eutils prefix
  5. DESCRIPTION="ASDF is Another System Definition Facility for Common Lisp"
  6. HOMEPAGE="http://common-lisp.net/project/asdf/"
  7. SRC_URI="http://common-lisp.net/project/${PN}/archives/${P}.tar.gz"
  8. LICENSE="MIT"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
  11. IUSE="doc"
  12. SLOT="0/${PVR}"
  13. DEPEND="!dev-lisp/cl-${PN}
  14. !dev-lisp/asdf-binary-locations
  15. !dev-lisp/gentoo-init
  16. !<dev-lisp/asdf-2.33-r3
  17. doc? ( virtual/texi2dvi )"
  18. RDEPEND=""
  19. PDEPEND="~dev-lisp/uiop-${PV}"
  20. install_docs() {
  21. # Not installing info file at the moment, see bug #605752
  22. (cd doc ; dodoc *.{html,css,ico,png} "${PN}.pdf" ; dodoc -r asdf)
  23. }
  24. src_compile() {
  25. make
  26. use doc && make -C doc
  27. }
  28. src_install() {
  29. insinto "/usr/share/common-lisp/source/${PN}"
  30. doins -r build version.lisp-expr
  31. dodoc README.md TODO
  32. use doc && install_docs
  33. insinto /etc/common-lisp
  34. cd "${T}" || die
  35. cp "${FILESDIR}/gentoo-init.lisp" "${FILESDIR}/source-registry.conf" . || die
  36. eprefixify gentoo-init.lisp source-registry.conf
  37. doins gentoo-init.lisp source-registry.conf
  38. }