diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2006-10-07 00:40:12 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2006-10-07 00:40:12 +0000 |
commit | 7d6c8be58456237a4c244587d8ef26f4d1054e82 (patch) | |
tree | cc44cd75b7f11b09dfdd5e5fa5bc350e6cdb1e55 /games-board/ggz-sdl-games | |
parent | Upstream has moved the source file. (diff) | |
download | gentoo-2-7d6c8be58456237a4c244587d8ef26f4d1054e82.tar.gz gentoo-2-7d6c8be58456237a4c244587d8ef26f4d1054e82.tar.bz2 gentoo-2-7d6c8be58456237a4c244587d8ef26f4d1054e82.zip |
Fix install paths
(Portage version: 2.1.2_pre2-r5)
Diffstat (limited to 'games-board/ggz-sdl-games')
-rw-r--r-- | games-board/ggz-sdl-games/ChangeLog | 5 | ||||
-rw-r--r-- | games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild | 28 |
2 files changed, 24 insertions, 9 deletions
diff --git a/games-board/ggz-sdl-games/ChangeLog b/games-board/ggz-sdl-games/ChangeLog index d62f6eabf895..72e45c1fbea1 100644 --- a/games-board/ggz-sdl-games/ChangeLog +++ b/games-board/ggz-sdl-games/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-board/ggz-sdl-games # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-sdl-games/ChangeLog,v 1.6 2006/07/07 21:31:45 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-sdl-games/ChangeLog,v 1.7 2006/10/07 00:40:12 nyhm Exp $ + + 07 Oct 2006; Tristan Heaven <nyhm@gentoo.org> ggz-sdl-games-0.0.13.ebuild: + Fix install paths 07 Jul 2006; Chris Gianelloni <wolf31o2@gentoo.org> ggz-sdl-games-0.0.13.ebuild: diff --git a/games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild b/games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild index d8e37fc1d602..4cf688ffb703 100644 --- a/games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild +++ b/games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild,v 1.4 2006/09/28 10:01:09 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild,v 1.5 2006/10/07 00:40:12 nyhm Exp $ inherit games @@ -13,16 +13,28 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="-amd64 ~ppc x86" IUSE="" +RESTRICT="userpriv" -DEPEND="~dev-games/libggz-0.0.13 - ~dev-games/ggz-client-libs-0.0.13 - >=media-libs/libsdl-1.2.0 - >=media-libs/sdl-image-1.2.0 - >=media-libs/sdl-ttf-1.2.0" +DEPEND="~dev-games/libggz-${PV} + ~dev-games/ggz-client-libs-${PV} + media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-mixer + media-libs/sdl-ttf + virtual/opengl + x11-libs/libXcursor" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "s:[\]\${prefix}/share/ggz:${GAMES_DATADIR}/ggz:" \ + -e "s:[\]\${prefix}/lib/ggz:${GAMES_LIBDIR}/ggz:" \ + configure || die "sed failed" +} src_install() { - make DESTDIR="${D}" install || die + emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog NEWS QuickStart.GGZ README* prepgamesdirs } - |