summaryrefslogtreecommitdiff
blob: d5e99903601de5b71f026fc549c0529b8d87845a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-mud/mudix/mudix-4.3-r1.ebuild,v 1.5 2009/02/08 16:56:47 tupone Exp $

EAPI=2
inherit eutils games

DESCRIPTION="A small, stable MUD client for the console"
HOMEPAGE="http://dw.nl.eu.org/mudix.html"
SRC_URI="http://dw.nl.eu.org/mudix/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""

DEPEND=""

src_prepare() {
	epatch "${FILESDIR}"/${P}-as-needed.patch
}

src_compile() {
	emake -C src O_FLAGS="${CFLAGS}" || die "emake failed"
}

src_install () {
	dogamesbin mudix || die "dogamesbin failed"
	dodoc README sample.usr
}