summaryrefslogtreecommitdiff
blob: 3babbfaff56cd545a8296198ac5ce910e19ada31 (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
32
33
34
35
36
37
38
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"

inherit subversion games

DESCRIPTION="Chinese chess engine (UCCI protocol)"
HOMEPAGE="https://sourceforge.net/projects/xqwizard/"
ESVN_REPO_URI="svn://svn.code.sf.net/p/xqwizard/code/ELEEYE"

LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND=""
RDEPEND=""

S="${WORKDIR}"

src_unpack() {
	subversion_src_unpack
}

src_prepare() {
	subversion_src_prepare
	cp "${FILESDIR}"/${P}-makefile ${PN}/Makefile || die
}

src_compile() {
	emake -C ${PN} || die
}

src_install() {
	dogamesbin ${PN}/${PN} || die
}