summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-07-01 23:13:59 +0000
committerTristan Heaven <tristan@gentoo.org>2007-07-01 23:13:59 +0000
commit3b92c57a9f097a24549a2f753e6202bee028ad60 (patch)
tree948aec512a5b7446832eed0dec1a9ddd4c035068 /games-engines/xzip/xzip-1.8.2-r2.ebuild
parent(QA) RESTRICT="multilib-pkg-force" -> EMULTILIB_PKG="true" (diff)
downloadhistorical-3b92c57a9f097a24549a2f753e6202bee028ad60.tar.gz
historical-3b92c57a9f097a24549a2f753e6202bee028ad60.tar.bz2
historical-3b92c57a9f097a24549a2f753e6202bee028ad60.zip
RESTRICT="test" and cleanup
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'games-engines/xzip/xzip-1.8.2-r2.ebuild')
-rw-r--r--games-engines/xzip/xzip-1.8.2-r2.ebuild23
1 files changed, 11 insertions, 12 deletions
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