summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-07-01 23:13:59 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-07-01 23:13:59 +0000
commit213718d1f5d9e02f89e3c0ee3ba4ec3660e77f6d (patch)
tree79423ba093abaa0c928c2fc645de6467dbf3a863 /games-engines/xzip/xzip-1.8.2-r2.ebuild
parent(QA) RESTRICT="multilib-pkg-force" -> EMULTILIB_PKG="true" (diff)
downloadgentoo-2-213718d1f5d9e02f89e3c0ee3ba4ec3660e77f6d.tar.gz
gentoo-2-213718d1f5d9e02f89e3c0ee3ba4ec3660e77f6d.tar.bz2
gentoo-2-213718d1f5d9e02f89e3c0ee3ba4ec3660e77f6d.zip
RESTRICT="test" and cleanup
(Portage version: 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