Files
gentoo/dev-lua/luassert/luassert-1.7.9.ebuild
T
Michael Palimaka 07417a01e9 dev-lua/luassert: add ~x86 keyword
Gentoo-bug: 581300
Package-Manager: Portage-2.3.4, Repoman-2.3.2
2017-03-16 21:26:50 +11:00

28 lines
610 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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 -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~x86"
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
}