You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
629 B
36 lines
629 B
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=6
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="header-only library for creating parsers according to Parsing Expression Grammar"
|
|
HOMEPAGE="https://github.com/ColinH/PEGTL"
|
|
SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="test"
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${WORKDIR}/PEGTL-${PV}"
|
|
|
|
src_compile() {
|
|
:
|
|
}
|
|
|
|
src_test() {
|
|
emake CXX="$(tc-getCXX)" PEGTL_CXXFLAGS="${CXXFLAGS}"
|
|
}
|
|
|
|
src_install() {
|
|
dodoc README.md
|
|
insinto /usr/include
|
|
doins -r pegtl
|
|
}
|