say-1.3_p1.ebuild 665 B

123456789101112131415161718192021222324252627282930
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. MY_PV=1.3-1
  5. inherit toolchain-funcs
  6. DESCRIPTION="Lua String Hashing/Indexing Library"
  7. HOMEPAGE="http://olivinelabs.com/busted/"
  8. SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
  9. LICENSE="MIT"
  10. SLOT="0"
  11. KEYWORDS="amd64 ~x86"
  12. IUSE=""
  13. COMMON_DEPEND=">=dev-lang/lua-5.1:="
  14. DEPEND="${COMMON_DEPEND}
  15. virtual/pkgconfig"
  16. RDEPEND="${COMMON_DEPEND}"
  17. S="${WORKDIR}/${PN}-${MY_PV}"
  18. src_install() {
  19. insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"/${PN}
  20. doins src/init.lua
  21. dodoc CONTRIBUTING.md README.md
  22. }