1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
10 DESCRIPTION="Fractal terrains of snow-capped mountains near water"
11 HOMEPAGE="https://spbooth.github.io/xmountains/"
12 SRC_URI="http://www.epcc.ed.ac.uk/~spb/${PN}/${MY_P}.tar.gz"
16 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
29 # add missing include for strcmp
30 sed -i xmountains.c -e '1a#include <string.h> /* strcmp() */' || die
31 # remove obsolete references to global.*
32 sed -i Makefile.alt README -e 's|global\..||g' || die
40 LDFLAGS="${LDFLAGS}" \
46 newman ${PN}.man ${PN}.1