diff options
author | Pieter van den Abeele <pvdabeel@gentoo.org> | 2003-02-23 17:57:07 +0000 |
---|---|---|
committer | Pieter van den Abeele <pvdabeel@gentoo.org> | 2003-02-23 17:57:07 +0000 |
commit | f6e9a077a67d20ebb08de8b71e848ef0238287be (patch) | |
tree | cb6263addf9d0655fa574ab06ad6a4df92c0b543 /app-misc | |
parent | samba-2.2.8_pre1 + samba-3.0_alpha21 (diff) | |
download | historical-f6e9a077a67d20ebb08de8b71e848ef0238287be.tar.gz historical-f6e9a077a67d20ebb08de8b71e848ef0238287be.tar.bz2 historical-f6e9a077a67d20ebb08de8b71e848ef0238287be.zip |
chesstask ebuild
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/chesstask/chesstask-1.3.ebuild | 41 | ||||
-rw-r--r-- | app-misc/chesstask/files/Makefile-1.3.diff | 12 | ||||
-rw-r--r-- | app-misc/chesstask/files/digest-chesstask-1.3.ebuild | 1 |
3 files changed, 54 insertions, 0 deletions
diff --git a/app-misc/chesstask/chesstask-1.3.ebuild b/app-misc/chesstask/chesstask-1.3.ebuild new file mode 100644 index 000000000000..3c5c4d69a6ab --- /dev/null +++ b/app-misc/chesstask/chesstask-1.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 +# Maintainer: Tom Bevan tom@regex.com.au +# $Header: /var/cvsroot/gentoo-x86/app-misc/chesstask/chesstask-1.3.ebuild,v 1.1 2003/02/23 17:57:00 pvdabeel Exp $ + + +S=${WORKDIR}/${PN}1_3 + +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 of the package. This must match the name of file(s) in +# /usr/portage/licenses/. For complex license combination see the developer +# docs on gentoo.org for details. +LICENSE="" + +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 +} diff --git a/app-misc/chesstask/files/Makefile-1.3.diff b/app-misc/chesstask/files/Makefile-1.3.diff new file mode 100644 index 000000000000..7a109cee16bc --- /dev/null +++ b/app-misc/chesstask/files/Makefile-1.3.diff @@ -0,0 +1,12 @@ +6c6 +< # DEFINES=-DENGLISH +--- +> DEFINES=-DENGLISH +10,11c10,11 +< CCINCL=-I/usr/lib/qt/include +< CCLIBINCL=-L/usr/lib/qt/lib +--- +> CCINCL=-I$(QTDIR)/include +> CCLIBINCL=-L$(QTDIR)/lib +19d18 +< QTDIR=/usr/lib/qt diff --git a/app-misc/chesstask/files/digest-chesstask-1.3.ebuild b/app-misc/chesstask/files/digest-chesstask-1.3.ebuild new file mode 100644 index 000000000000..d7968b06facf --- /dev/null +++ b/app-misc/chesstask/files/digest-chesstask-1.3.ebuild @@ -0,0 +1 @@ +19e9b93ee0678860273eccb2836cd767 *ChessTask1_3src.zip |