/[gentoo-x86]/games-puzzle/trimines/trimines-1.2.1.ebuild
Gentoo

Contents of /games-puzzle/trimines/trimines-1.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Nov 24 15:15:49 2006 UTC (13 years, 3 months ago) by nyhm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old version
(Portage version: 2.1.2_rc2-r1)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/trimines/trimines-1.2.1.ebuild,v 1.2 2006/09/28 21:27:49 nyhm Exp $
4
5 inherit eutils toolchain-funcs games
6
7 DESCRIPTION="A mine sweeper game that uses triangles instead of squares"
8 HOMEPAGE="http://www.freewebs.com/trimines/"
9 SRC_URI="http://www.freewebs.com/trimines/${P}.tar.gz"
10
11 LICENSE="as-is"
12 SLOT="0"
13 KEYWORDS="x86"
14 IUSE=""
15
16 DEPEND="media-libs/libsdl"
17
18 src_unpack() {
19 unpack ${A}
20 cd "${S}"
21 sed -i \
22 -e "s:data/:${GAMES_DATADIR}/${PN}/:" src/gfx.c \
23 || die "sed failed"
24 echo "${PN}: ; $(tc-getCC) ${CFLAGS} src/main.c -o ./${PN} \`sdl-config --cflags\` \`sdl-config --libs\`" > Makefile
25 }
26
27 src_install() {
28 dogamesbin "${PN}" || die "dogamesbin failed"
29 insinto "${GAMES_DATADIR}/${PN}"
30 doins data/* || die "doins failed"
31 dodoc README
32 make_desktop_entry "${PN}" TriMines
33 prepgamesdirs
34 }

  ViewVC Help
Powered by ViewVC 1.1.20