summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-02-03 23:37:20 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-02-03 23:37:20 +0000
commitdfb766387ebf61ff88f1762ef470392644a584b5 (patch)
treec4d5181f5cf800c063812ee14f09fd955987c99b /games-arcade
parentHomepage fix, closes #257245 (diff)
downloadhistorical-dfb766387ebf61ff88f1762ef470392644a584b5.tar.gz
historical-dfb766387ebf61ff88f1762ef470392644a584b5.tar.bz2
historical-dfb766387ebf61ff88f1762ef470392644a584b5.zip
EAPI=2; clean up build a bit
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.28.1 i686
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/excido/ChangeLog8
-rw-r--r--games-arcade/excido/Manifest4
-rw-r--r--games-arcade/excido/excido-0.1.5c-r1.ebuild30
3 files changed, 28 insertions, 14 deletions
diff --git a/games-arcade/excido/ChangeLog b/games-arcade/excido/ChangeLog
index d42768eaa70d..8ad0de5299d7 100644
--- a/games-arcade/excido/ChangeLog
+++ b/games-arcade/excido/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/excido
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/excido/ChangeLog,v 1.15 2006/12/06 20:14:40 wolf31o2 Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/excido/ChangeLog,v 1.16 2009/02/03 23:37:20 mr_bones_ Exp $
+
+ 03 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ excido-0.1.5c-r1.ebuild:
+ EAPI=2; clean up build a bit
06 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
excido-0.1.5c-r1.ebuild:
diff --git a/games-arcade/excido/Manifest b/games-arcade/excido/Manifest
index dfa24c95d158..9409cdf8bc07 100644
--- a/games-arcade/excido/Manifest
+++ b/games-arcade/excido/Manifest
@@ -1,5 +1,5 @@
AUX excido-0.1.5c-alut.patch 735 RMD160 5c6d5deba2abc6330528f4e633e4b97d88cf845d SHA1 677358bc38cdc60d56e69f39f18c4b2fc3d9c39b SHA256 0665346b64d7045a78b50fb9f78e47dd24696bb26ca1090ee269677de6eb65d1
DIST excido-0.1.5c-src.tar.bz2 2981629 RMD160 22594630726e2e5f95268dd25897d31ff69a4287 SHA1 ba03dcfea2209f8b09a2d3db1d58547ce89e75a5 SHA256 d53bcaf4e18265ece7c4206c91cdf26682ff1aeba917cb9d5bd2f4218ce364ef
-EBUILD excido-0.1.5c-r1.ebuild 1165 RMD160 5a03871bff3e697252d00a5f8db25bb3174028aa SHA1 b6fdde4719f8e34002c2010b68d990f319234a45 SHA256 36abb0f155f28a701bc47f9a345c780c9fa6e63a32e5025808583c31effb2a3f
-MISC ChangeLog 2109 RMD160 417715133b6fa9da0ff18f0224e9073253bdc720 SHA1 8ef1de58a70d5decdc3f79862542ddddc2a0861f SHA256 4150d7c22e9b38381629e698b5c48ca6b4443f22fb095ebb8d0c97f34e197a01
+EBUILD excido-0.1.5c-r1.ebuild 1443 RMD160 24392ed45a38f95c0aacf5e7f14b84db0872475e SHA1 fec52dedbf5aed1f40628e746724bc20a566f0a8 SHA256 5f0ea42c90cd8fd235e1d18ddb468f3c09abc7b9caa1c4637414d99078c001c6
+MISC ChangeLog 2224 RMD160 84ce87a6cfc8d76fc52c9fd424c5575f55a471ea SHA1 8b1e9cff17db325bb1c748fd3f339d6b276ac30d SHA256 7738579a642f77b43c19e68b8c7d5150d9012dbc2c9b515bd2bf8a81f69616a8
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-arcade/excido/excido-0.1.5c-r1.ebuild b/games-arcade/excido/excido-0.1.5c-r1.ebuild
index ea3e66524008..084b6ea7c9e3 100644
--- a/games-arcade/excido/excido-0.1.5c-r1.ebuild
+++ b/games-arcade/excido/excido-0.1.5c-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/excido/excido-0.1.5c-r1.ebuild,v 1.7 2006/12/06 20:14:40 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/excido/excido-0.1.5c-r1.ebuild,v 1.8 2009/02/03 23:37:20 mr_bones_ Exp $
-inherit eutils toolchain-funcs games
+EAPI=2
+inherit eutils games
DESCRIPTION="A fast paced action game"
HOMEPAGE="http://icculus.org/excido/"
@@ -14,17 +15,26 @@ KEYWORDS="~alpha ~amd64 ppc x86"
IUSE=""
DEPEND="dev-games/physfs
- media-libs/libsdl
+ media-libs/libsdl[opengl]
media-libs/sdl-mixer
media-libs/sdl-ttf
- media-libs/sdl-image
+ media-libs/sdl-image[png]
media-libs/openal
media-libs/freealut"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-alut.patch
+ sed -i \
+ -e '/^CC=/d' \
+ -e '/^LIBS/s/-s -Bstatic//' \
+ -e 's/-static//' \
+ -e 's/-L./`sdl-config --libs`/' \
+ -e '/^CFLAGS=/s/CFLAGS/CXXFLAGS+/' \
+ -e 's/(CC)/(CXX)/g' \
+ -e 's/(CFLAGS)/(CXXFLAGS)/g' \
+ -e '/(LIBS)/s/$(LIBS)/$(LDFLAGS) $(LIBS)/' \
+ Makefile \
+ || die "sed failed"
}
src_compile() {
@@ -38,11 +48,11 @@ src_compile() {
src_install() {
dodir "${GAMES_BINDIR}" "${GAMES_DATADIR}/${PN}"
- make \
+ emake \
PREFIX="${D}/usr" \
BINDIR="${D}${GAMES_BINDIR}/" \
DATADIR="${D}${GAMES_DATADIR}/${PN}/" \
- install || die "make install failed"
+ install || die "emake install failed"
dodoc BUGS CHANGELOG HACKING README TODO \
keyguide.txt data/CREDITS data/*.txt
prepgamesdirs