diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2006-10-31 19:08:23 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2006-10-31 19:08:23 +0000 |
commit | 8ead973ee5dc3a1309ff09504819165224139d55 (patch) | |
tree | 895ba11ea0cdb55f2cbef3240f561b58e400d20e /games-puzzle/xtris/xtris-1.15.ebuild | |
parent | Fixed numerous problems like the location of the installed javadocs. (diff) | |
download | gentoo-2-8ead973ee5dc3a1309ff09504819165224139d55.tar.gz gentoo-2-8ead973ee5dc3a1309ff09504819165224139d55.tar.bz2 gentoo-2-8ead973ee5dc3a1309ff09504819165224139d55.zip |
Add desktop entry, bug #153531
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'games-puzzle/xtris/xtris-1.15.ebuild')
-rw-r--r-- | games-puzzle/xtris/xtris-1.15.ebuild | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/games-puzzle/xtris/xtris-1.15.ebuild b/games-puzzle/xtris/xtris-1.15.ebuild index dcec08c7d206..3570da6779af 100644 --- a/games-puzzle/xtris/xtris-1.15.ebuild +++ b/games-puzzle/xtris/xtris-1.15.ebuild @@ -1,33 +1,37 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xtris/xtris-1.15.ebuild,v 1.6 2006/02/14 04:17:57 joshuabaergen Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xtris/xtris-1.15.ebuild,v 1.7 2006/10/31 19:08:23 nyhm Exp $ -inherit games +inherit eutils toolchain-funcs games -S="${WORKDIR}/${PN}" DESCRIPTION="a networked Tetris-like game" HOMEPAGE="http://www.iagora.com/~espel/xtris/xtris.html" SRC_URI="http://www.iagora.com/~espel/xtris/${P}.tar.gz" -KEYWORDS="x86 amd64 ppc" LICENSE="GPL-2" SLOT="0" +KEYWORDS="amd64 ppc x86" IUSE="" -DEPEND="|| ( x11-libs/libX11 virtual/x11 )" +DEPEND="x11-libs/libX11" + +S=${WORKDIR}/${PN} src_compile() { emake \ + CC=$(tc-getCC) \ BINDIR="${GAMES_BINDIR}" \ MANDIR=/usr/share/man \ - XLIBDIR=-L/usr/X11R6/lib \ CFLAGS="${CFLAGS}" \ - || die "emake failed" + EXTRALIBS="${LDFLAGS}" \ + || die "emake failed" } src_install() { - dogamesbin xtris xtserv xtbot || die "dogamesbin failed" - doman xtris.6 xtserv.6 xtbot.6 || die "doman failed" - dodoc ChangeLog PROTOCOL README || die "dodoc failed" + dogamesbin xtris xtserv xtbot || die "dogamesbin failed" + doicon "${FILESDIR}"/${PN}.xpm + make_desktop_entry ${PN} xtris ${PN}.xpm + doman xtris.6 xtserv.6 xtbot.6 + dodoc ChangeLog PROTOCOL README prepgamesdirs } |