summaryrefslogtreecommitdiff
blob: 988e8240826a18837395059d45bf5eeaccbdc2ef (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/sjeng/sjeng-11.2.ebuild,v 1.3 2004/06/24 22:21:28 agriffis Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Console based chess interface"
SRC_URI="mirror://sourceforge/sjeng/Sjeng-Free-${PV}.tar.gz"
HOMEPAGE="http://sjeng.sourceforge.net/"
KEYWORDS="x86"
SLOT="0"
LICENSE="GPL-2"

src_compile() {
	cd ${WORKDIR}/Sjeng-Free-${PV}
	./configure \
		--host=${CHOST} \
		--prefix=/usr
	emake || die
}
src_install () {
	cd ${WORKDIR}/Sjeng-Free-${PV}
	make \
		prefix=${D}/usr \
		install || die
}