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

Contents of /games-roguelike/tome/tome-2.2.2.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.2.2.ebuild,v 1.1 2003/09/10 04:59:58 vapier Exp $
4
5 inherit games
6
7 MY_PV=${PV//./}
8 S="${WORKDIR}/tome-${MY_PV}-src"
9
10 DESCRIPTION="A roguelike game, where you can save the world from Morgoth and battle evil (or become evil ;])"
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="x86 ppc"
14 SRC_URI="http://t-o-m-e.net/dl/src/tome-${MY_PV}-src.tgz"
15 HOMEPAGE="http://t-o-m-e.net/"
16
17 RDEPEND="virtual/glibc
18 >=sys-libs/ncurses-5
19 >=x11-base/xfree-4.0"
20 DEPEND="${RDEPEND}
21 >=sys-apps/sed-4"
22
23 src_compile() {
24 cd src && \
25 emake -f makefile.std \
26 COPTS="${CFLAGS}" \
27 BINDIR=${GAMES_BINDIR} \
28 LIBDIR=${GAMES_DATADIR}/tome/lib || \
29 die "emake failed"
30 }
31
32 src_install() {
33 cd ${S}/src && \
34 make -f makefile.std \
35 BINDIR=${D}${GAMES_BINDIR} \
36 LIBDIR=${D}${GAMES_DATADIR}/tome/lib install || \
37 die "make install failed"
38 cd ${S} && \
39 dodoc *.txt || die "dodoc failed"
40
41 prepgamesdirs
42 }
43
44 pkg_postinst() {
45 echo
46 ewarn "ToME ${PV} is not save-game compatible with previous versions."
47 echo
48 einfo "If you have older save files and you wish to continue those games,"
49 einfo "you'll need to remerge the version of ToME with which you started"
50 einfo "those save-games."
51 echo
52
53 games_pkg_postinst
54 }

  ViewVC Help
Powered by ViewVC 1.1.20