/[gentoo-x86]/games-puzzle/enigma/enigma-0.81.ebuild
Gentoo

Contents of /games-puzzle/enigma/enigma-0.81.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (show annotations) (download)
Thu Aug 11 00:11:20 2005 UTC (14 years, 5 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +1 -1 lines
FILE REMOVED
clean old
(Portage version: 2.0.51.22-r2)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/enigma-0.81.ebuild,v 1.17 2005/06/15 18:59:56 wolf31o2 Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="puzzle game similar to Oxyd"
8 HOMEPAGE="http://www.nongnu.org/enigma/"
9 SRC_URI="http://savannah.nongnu.org/download/enigma/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="x86 ~amd64 ~sparc ppc"
14 IUSE=""
15
16 RDEPEND="virtual/libc
17 sys-libs/zlib
18 media-libs/sdl-ttf
19 >=media-libs/libsdl-1.2.0
20 >=media-libs/sdl-mixer-1.2.4
21 >=media-libs/sdl-image-1.2.0
22 >=dev-lang/lua-4.0"
23 DEPEND="${RDEOEND}
24 >=sys-apps/sed-4"
25
26 src_unpack() {
27 unpack ${A}
28 cd "${S}"
29 epatch "${FILESDIR}/${P}-gcc34.patch"
30 sed -i \
31 -e 's:$(pkgdatadir):$(DESTDIR)$(pkgdatadir):' \
32 data/levels/Makefile.am \
33 data/levels/Sokoban/Makefile.am \
34 || die "sed data/levels/{Sokoban/}?Makefile.am failed"
35 aclocal || die "aclocal failed"
36 automake || die "automake failed"
37 autoconf || die "autoconf failed"
38 }
39
40 src_compile() {
41 egamesconf --enable-optimize || die
42 emake || die "emake failed"
43 }
44
45 src_install() {
46 make DESTDIR="${D}" install || die "make install failed"
47 mv "${D}/${GAMES_PREFIX}/share/"* "${D}/usr/share/"
48 rm -r "${D}/${GAMES_PREFIX}/share"
49 dodoc NEWS README AUTHORS ChangeLog
50 prepgamesdirs
51 }

  ViewVC Help
Powered by ViewVC 1.1.20