1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils versionator
7 MY_PV=$(replace_version_separator 2 '')
9 DESCRIPTION="A program that generates images from instructions written in context-free grammar"
10 HOMEPAGE="http://www.contextfreeart.org/"
11 SRC_URI="http://www.contextfreeart.org/download/ContextFreeSource${MY_PV}.tgz"
18 DEPEND="media-libs/libpng"
21 S=${WORKDIR}/ContextFreeSource${MY_PV}
25 epatch "${FILESDIR}/${P}-fix-cpp-headers.patch"
33 make rtests OUTPUT_DIR="${T}" || die "tests failed"