riakc-2.4.2.ebuild 708 B

1234567891011121314151617181920212223242526272829303132
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit rebar
  5. MY_PN="riak-erlang-client"
  6. MY_P="${MY_PN}-${PV}"
  7. DESCRIPTION="Erlang clients for Riak"
  8. HOMEPAGE="https://github.com/basho/riak-erlang-client"
  9. SRC_URI="https://github.com/basho/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
  10. LICENSE="Apache-2.0"
  11. SLOT="0"
  12. KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86"
  13. DEPEND=">=dev-erlang/riak_pb-2.1.4.2
  14. >=dev-lang/erlang-17.1"
  15. RDEPEND="${DEPEND}"
  16. DOCS=( README.md RELNOTES.md )
  17. S="${WORKDIR}/${MY_P}"
  18. src_prepare() {
  19. rebar_src_prepare
  20. # 'priv' directory contains only edoc.css, but doc isn't going to be built.
  21. rm -r "${S}/priv" || die
  22. }