summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-09-20 15:50:01 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-09-20 15:50:01 +0000
commit78704a50cb7ae813d95a40211c80d6a0989b831d (patch)
tree6c0b56566d7d72212ccd703aa1eaab195898b724 /games-arcade/xrick
parentChange 25 unversioned masks to 45 versioned cause these packages also exist i... (diff)
downloadhistorical-78704a50cb7ae813d95a40211c80d6a0989b831d.tar.gz
historical-78704a50cb7ae813d95a40211c80d6a0989b831d.tar.bz2
historical-78704a50cb7ae813d95a40211c80d6a0989b831d.zip
EAPI=2; respect LDFLAGS (bug #338153)
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-arcade/xrick')
-rw-r--r--games-arcade/xrick/ChangeLog8
-rw-r--r--games-arcade/xrick/Manifest4
-rw-r--r--games-arcade/xrick/xrick-021212-r1.ebuild20
3 files changed, 21 insertions, 11 deletions
diff --git a/games-arcade/xrick/ChangeLog b/games-arcade/xrick/ChangeLog
index 3d59e0be92ec..f0ebf9057ee0 100644
--- a/games-arcade/xrick/ChangeLog
+++ b/games-arcade/xrick/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/xrick
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/ChangeLog,v 1.12 2007/04/24 15:25:06 drizzt Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/ChangeLog,v 1.13 2010/09/20 15:50:01 mr_bones_ Exp $
+
+ 20 Sep 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ xrick-021212-r1.ebuild:
+ EAPI=2; respect LDFLAGS (bug #338153)
24 Apr 2007; Timothy Redaelli <drizzt@gentoo.org> xrick-021212-r1.ebuild:
Add ~x86-fbsd keyword.
diff --git a/games-arcade/xrick/Manifest b/games-arcade/xrick/Manifest
index fc5604fe0456..d9844ade44f1 100644
--- a/games-arcade/xrick/Manifest
+++ b/games-arcade/xrick/Manifest
@@ -1,4 +1,4 @@
DIST xrick-021212.tgz 1648538 RMD160 c73afbf495ec9bd6c72b67c91661143e6d93cb08 SHA1 1a84eac20a22ab86d2013cc1c8ff7e0097b4466a SHA256 aa8542120bec97a730258027a294bd16196eb8b3d66134483d085f698588fc2b
-EBUILD xrick-021212-r1.ebuild 1263 RMD160 1cf2b40a2fa8820c693728e43d686717d4df523d SHA1 858b766fdff7ab885a028f115b6ee6a1ea604c7a SHA256 92f5c586850c7097f6c1e152a4da8d0d60323e576a6de8185c63cbb217445ff9
-MISC ChangeLog 2009 RMD160 cc29ee7007e29502c0ea7bd83edaecc7c51adade SHA1 c24060e9e6e32133988f22e58a744fc79f851660 SHA256 b0fb9f8c07b31b487d48f831e1026c36a313be3155c0eace09eab462976103db
+EBUILD xrick-021212-r1.ebuild 1320 RMD160 bf11e0d9a040d9a80bcd8dfca2e7df47389ab17e SHA1 30260e2bcfd4301bb9b1683f53dffd3fec3308d7 SHA256 2a89d32ac6181049b7f5c04ad6330f1c8d6ae35e37dd2c0adb6c435cd5662a57
+MISC ChangeLog 2134 RMD160 53a586878ec5c8cfee7f9527d55a40e89ef43bf9 SHA1 2679afad0a2e02522e9aca137d9e7f9fab4e8ecc SHA256 bb882214cf2cc93686b0e6718a46d65c9039ee1174d9939946ce3391095d638f
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-arcade/xrick/xrick-021212-r1.ebuild b/games-arcade/xrick/xrick-021212-r1.ebuild
index 447c6b951ece..3571a4fdf740 100644
--- a/games-arcade/xrick/xrick-021212-r1.ebuild
+++ b/games-arcade/xrick/xrick-021212-r1.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/xrick-021212-r1.ebuild,v 1.13 2007/04/24 15:25:06 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/xrick-021212-r1.ebuild,v 1.14 2010/09/20 15:50:01 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="Clone of the Rick Dangerous adventure game from the 80's"
-SRC_URI="http://www.bigorno.net/xrick/${P}.tgz"
HOMEPAGE="http://www.bigorno.net/xrick/"
+SRC_URI="http://www.bigorno.net/xrick/${P}.tgz"
LICENSE="GPL-2 as-is"
SLOT="0"
@@ -14,25 +15,30 @@ KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
IUSE=""
RESTRICT="mirror" # bug #149097
-DEPEND="media-libs/libsdl"
+DEPEND="media-libs/libsdl[video]"
src_unpack() {
unpack ${A}
cd "${S}"
unpack ./xrick.6.gz
+}
+src_prepare() {
sed -i \
-e "/^run from/d" \
-e "/data.zip/ s:the directory where xrick is:$(games_get_libdir)/${PN}.:" \
- xrick.6 || die "sed xrick.6 failed"
+ xrick.6 || die
sed -i \
-e "s:data.zip:$(games_get_libdir)/${PN}/data.zip:" \
- src/xrick.c || die "sed xrick.c failed"
+ src/xrick.c || die
sed -i \
-e "s/-g -ansi -pedantic -Wall -W -O2/${CFLAGS}/" \
- Makefile || die "sed Makefile failed"
+ -e '/LDFLAGS/s/=/+=/' \
+ -e '/CC=/d' \
+ -e "/CPP=/ { s/gcc/\$(CC)/; s/\"/'/g }" \
+ Makefile || die
}
src_install() {