From 3b92c57a9f097a24549a2f753e6202bee028ad60 Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Sun, 1 Jul 2007 23:13:59 +0000 Subject: RESTRICT="test" and cleanup Package-Manager: portage-2.1.3_rc6 --- games-engines/xzip/xzip-1.8.2-r2.ebuild | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'games-engines/xzip/xzip-1.8.2-r2.ebuild') diff --git a/games-engines/xzip/xzip-1.8.2-r2.ebuild b/games-engines/xzip/xzip-1.8.2-r2.ebuild index a9b88338a0d8..4ca8b18a501c 100644 --- a/games-engines/xzip/xzip-1.8.2-r2.ebuild +++ b/games-engines/xzip/xzip-1.8.2-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/xzip/xzip-1.8.2-r2.ebuild,v 1.8 2006/12/04 22:30:52 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/xzip/xzip-1.8.2-r2.ebuild,v 1.9 2007/07/01 23:13:59 nyhm Exp $ -inherit eutils games +inherit games DESCRIPTION="X interface to Z-code based text games" HOMEPAGE="http://www.eblong.com/zarf/xzip.html" @@ -12,22 +12,21 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ppc x86" IUSE="" +RESTRICT="test" -RDEPEND="x11-libs/libX11" +DEPEND="x11-libs/libX11" S=${WORKDIR}/xzip -src_unpack() { - unpack xzip182.tar.Z - cd "${S}" - epatch "${FILESDIR}"/xzip-182-makefile.diff - sed -i \ - -e "s/-O/${CFLAGS}/" Makefile \ - || die "sed Makefile failed" +src_compile() { + emake \ + CFLAGS="${CFLAGS} -DAUTO_END_MODE" \ + LDFLAGS="${LDFLAGS}" \ + || die "emake failed" } src_install() { - dogamesbin xzip || die + dogamesbin xzip || die "dogamesbin failed" dodoc README doman xzip.1 prepgamesdirs -- cgit v1.2.3-65-gdbad