blob: 33244a138087c408ebc0ec921ac1858944957d26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit toolchain-funcs
DESCRIPTION="A pure Lua implementation of the MessagePack serialization format"
HOMEPAGE="http://fperrad.github.io/lua-MessagePack/"
SRC_URI="https://github.com/fperrad/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND=">=dev-lang/lua-5.1"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_install() {
emake LUAVER="$($(tc-getPKG_CONFIG) --variable V lua)" \
PREFIX="${EPREFIX}"/usr DESTDIR="${D}" install
dodoc CHANGES README.md
}
|