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.
gentoo-overlay/x11-misc/xmountains/xmountains-2.8.ebuild

40 lines
836 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmountains/xmountains-2.8.ebuild,v 1.1 2010/03/15 10:23:47 ssuominen Exp $
EAPI=2
inherit toolchain-funcs
MY_P=${P/-/_}
DESCRIPTION="Fractal terrains of snow-capped mountains near water"
HOMEPAGE="http://www.epcc.ed.ac.uk/~spb/xmountains/"
SRC_URI="http://www.epcc.ed.ac.uk/~spb/${PN}/${MY_P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE=""
RDEPEND="x11-misc/xbitmaps
x11-libs/libX11"
DEPEND="${RDEPEND}
x11-proto/xproto"
S=${WORKDIR}
src_compile() {
emake \
-f Makefile.alt \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
${PN} || die
}
src_install() {
dobin ${PN} || die
dodoc README
newman ${PN}.man ${PN}.1
}