diff options
Diffstat (limited to 'games-board/qgo/qgo-1.5.3.ebuild')
-rw-r--r-- | games-board/qgo/qgo-1.5.3.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/games-board/qgo/qgo-1.5.3.ebuild b/games-board/qgo/qgo-1.5.3.ebuild new file mode 100644 index 000000000000..59cec4620e76 --- /dev/null +++ b/games-board/qgo/qgo-1.5.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/qgo-1.5.3.ebuild,v 1.1 2007/01/12 09:52:33 nyhm Exp $ + +inherit eutils qt3 games + +DESCRIPTION="A Qt Go client and SGF editor" +HOMEPAGE="http://qgo.sourceforge.net/" +SRC_URI="mirror://sourceforge/qgo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="$(qt_min_version 3.3)" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i 's:$(datadir):/usr/share:' \ + templates/Makefile.in \ + || die "sed Makefile.in failed" + sed -i "s:/usr/share:${GAMES_DATADIR}:" \ + templates/*.desktop \ + || die "sed .desktop failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README TODO + prepgamesdirs +} |