35 lines
549 B
Bash
35 lines
549 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="LOLCODE interpreter written in C"
|
|
HOMEPAGE="http://www.lolcode.org/"
|
|
SRC_URI="https://github.com/justinmeza/${PN}/archive/v${PV}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="doc"
|
|
|
|
DEPEND="app-doc/doxygen"
|
|
|
|
src_prepare() {
|
|
cmake_src_prepare
|
|
}
|
|
|
|
src_configure(){
|
|
cmake_src_configure
|
|
}
|
|
|
|
src_compile() {
|
|
cmake_src_compile
|
|
use doc && cmake_src_compile docs
|
|
}
|
|
|
|
src_install() {
|
|
cmake_src_install
|
|
}
|