asdf-3.1.6.ebuild 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  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. #S="${WORKDIR}"
  21. src_compile() {
  22. make
  23. use doc && make doc
  24. }
  25. src_install() {
  26. insinto /usr/share/common-lisp/source/${PN}
  27. doins -r build version.lisp-expr
  28. dodoc README.md TODO
  29. dohtml doc/*.{html,css,ico,png}
  30. if use doc; then
  31. dohtml -r doc/index.html
  32. insinto /usr/share/doc/${PF}
  33. #doins doc/${PN}.pdf
  34. fi
  35. insinto /etc/common-lisp
  36. cd "${T}"
  37. cp "${FILESDIR}"/gentoo-init.lisp "${FILESDIR}"/source-registry.conf .
  38. eprefixify gentoo-init.lisp source-registry.conf
  39. doins gentoo-init.lisp source-registry.conf
  40. }