| # Copyright 1999-2015 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=5 |
| |
| inherit toolchain-funcs |
| |
| DESCRIPTION="Lua Assertions Extension" |
| HOMEPAGE="http://olivinelabs.com/busted/" |
| SRC_URI="https://github.com/Olivine-Labs/luassert/archive/v${PV}.tar.gz" |
| |
| LICENSE="MIT" |
| SLOT="0" |
| KEYWORDS="~amd64" |
| IUSE="" |
| |
| COMMON_DEPEND=">=dev-lang/lua-5.1:=" |
| DEPEND="${COMMON_DEPEND} |
| virtual/pkgconfig" |
| RDEPEND="${COMMON_DEPEND} |
| >=dev-lua/say-1.2_p1" |
| |
| src_install() { |
| insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"/${PN} |
| doins -r src/* |
| dodoc *.md |
| } |