summaryrefslogtreecommitdiff
blob: 244d54889ac894f2480bb7e782a2e58b05f94da9 (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-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/chesstask/chesstask-1.3.ebuild,v 1.2 2003/03/01 00:57:08 liquidx Exp $


S=${WORKDIR}/${PN}1_3
IUSE=""
SLOT="0"
DESCRIPTION="An editor for chess problems. It will generate PostScript and HTML files."
SRC_URI="http://telia.dl.sourceforge.net/sourceforge/chesstask/ChessTask1_3src.zip"
HOMEPAGE="http://chesstask.sourceforge.net/"
KEYWORDS="~ppc"
LICENSE="GPL-2"
DEPEND=">=x11-libs/qt-3
		app-text/tetex"

src_unpack() {
	unpack ${A}
	cd ${S} || die "no such directory ${S}"
	patch -p1 Makefile < ${FILESDIR}/Makefile-1.3.diff || die "Failed to apply patch"
}


src_compile() {
	emake || die
}

src_install () {
	mkdir -p ${D}/usr/bin
	cp ${S}/ChessTask ${D}/usr/bin
}