summaryrefslogtreecommitdiff
blob: b7359b3fbaeb2a369c6dfe687dc30618f8089aef (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
31
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

GPE_TARBALL_SUFFIX="bz2"
GPE_MIRROR="http://gpe.linuxtogo.org/download/source"
inherit eutils gpe

DESCRIPTION="Xdemineur is a minesweeper game for the X Window System."

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~amd64 ~x86"



src_unpack() {
	gpe_src_unpack
}

RDEPEND="${RDEPEND}"
DEPEND=">=x11-proto/inputproto-1.4 >=x11-proto/xextproto-7.0 ${RDEPEND}"

src_compile() {
	$(tc-getCC) *.c -o xdemineur -lXpm ${CFLAGS} ${LDFLAGS}
}

src_install() {
	mkdir -p ${D}/usr/bin/
	cp xdemineur ${D}/usr/bin/ || die "No flow bro.."
}