/[gentoo-x86]/games-roguelike/tome/tome-2.1.0.ebuild
Gentoo

Contents of /games-roguelike/tome/tome-2.1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Oct 13 20:04:34 2003 UTC (10 years, 10 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
ver bump #30817 and perm fix #26334

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/games-roguelike/tome/tome-2.1.0.ebuild,v 1.1 2003/09/10 04:59:58 vapier Exp $
4
5 MY_PV=${PV//./}
6 S="${WORKDIR}/tome-${MY_PV}-src"
7
8 DESCRIPTION="A roguelike game, where you can save the world from Morgoth and battle evil (or become evil ;])"
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="x86"
12 SRC_URI="http://t-o-m-e.net/dl/src/tome-${MY_PV}-src.tgz"
13 HOMEPAGE="http://t-o-m-e.net/"
14
15 DEPEND="virtual/glibc
16 >=sys-libs/ncurses-5
17 >=x11-base/xfree-4.0"
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}/src && \
22 sed -i \
23 -e "s:-O1:${CFLAGS}:" \
24 makefile.std || die "sed makefile.std failed"
25 }
26
27 src_compile() {
28 cd src && \
29 make -f makefile.std \
30 BINDIR=/usr/games/bin \
31 LIBDIR=/usr/share/games/tome/lib || die "make failed"
32 }
33
34 src_install() {
35 cd ${S}/src && \
36 make -f makefile.std \
37 BINDIR=${D}/usr/games/bin \
38 LIBDIR=${D}/usr/share/games/tome/lib install || \
39 die "make install failed"
40 cd ${S} && \
41 dodoc *.txt || die "dodoc failed"
42 }

  ViewVC Help
Powered by ViewVC 1.1.20