summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-06-03 16:10:27 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-06-03 16:10:27 +0000
commit800172e18c51319fa851ec68f2b480b03b078f0f (patch)
treeaef4414d470315a5f2fdd36e96be3426dcf1fb81 /games-misc
parentGCC-4.5 patch wrt bug #322217 (diff)
downloadhistorical-800172e18c51319fa851ec68f2b480b03b078f0f.tar.gz
historical-800172e18c51319fa851ec68f2b480b03b078f0f.tar.bz2
historical-800172e18c51319fa851ec68f2b480b03b078f0f.zip
EAPI=2; add use deps; honor CC; tidy
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/sdljoytest/ChangeLog8
-rw-r--r--games-misc/sdljoytest/Manifest4
-rw-r--r--games-misc/sdljoytest/sdljoytest-11102003.ebuild15
3 files changed, 16 insertions, 11 deletions
diff --git a/games-misc/sdljoytest/ChangeLog b/games-misc/sdljoytest/ChangeLog
index ee5e1dfc17cf..c303cdb1d4dd 100644
--- a/games-misc/sdljoytest/ChangeLog
+++ b/games-misc/sdljoytest/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-misc/sdljoytest
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/sdljoytest/ChangeLog,v 1.3 2007/02/08 21:08:24 wolf31o2 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/sdljoytest/ChangeLog,v 1.4 2010/06/03 16:10:27 mr_bones_ Exp $
+
+ 03 Jun 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ sdljoytest-11102003.ebuild:
+ EAPI=2; add use deps; honor CC; tidy
08 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/games-misc/sdljoytest/Manifest b/games-misc/sdljoytest/Manifest
index 957bf23d2573..1afe78c74c2c 100644
--- a/games-misc/sdljoytest/Manifest
+++ b/games-misc/sdljoytest/Manifest
@@ -1,4 +1,4 @@
DIST SDLJoytest-GL-11102003.tar.bz2 85997 RMD160 a08635b9b0e4d1410a7e34e552647f925eb79060 SHA1 e376b6fd9c8d4ab9c6f4d546cc072f27aefe2910 SHA256 306aa4b825ad880e71aac77d410f7a040ee6c1a372eb3d1db3301a8536a3c468
-EBUILD sdljoytest-11102003.ebuild 995 RMD160 67ad838c8bee13d58de3d0875cf0435ab48ec305 SHA1 46b98abe37b63cb022a544742f6096926fd2c294 SHA256 8c3c4899b57ffc42c15b2f1042ca7778ab8c18b936c110ffb9c61ea566105228
-MISC ChangeLog 546 RMD160 5649bfa29a940f9e803b68a84189c4a4a893c269 SHA1 0110e8710ef9a3bdfcc7314c8a531cc833dffcdb SHA256 f70bab95a5860383bc138f46baf1b88cade2351a215a2ed65b22dbf75402f510
+EBUILD sdljoytest-11102003.ebuild 1029 RMD160 93aeb8baa6693ced6c80eba223c13e74d52456c5 SHA1 b5b84972572503b3f0dc4f4e876464640a54a70e SHA256 5ec156bd06ce179b24ef7a67ddbc4c8389015bddbbaa2aa82086f5247b83d853
+MISC ChangeLog 672 RMD160 b162f0b4fb5c33cfff5a2969594ee5fafd38de34 SHA1 a2211994f56ee169cb4a15bd3f2d157aa310821d SHA256 77dbdeb9d44adc653b03958342992bffc2a4b85d7974a6ccaf0b101b85930f54
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-misc/sdljoytest/sdljoytest-11102003.ebuild b/games-misc/sdljoytest/sdljoytest-11102003.ebuild
index cfbe3e213ee7..7bdb399c4109 100644
--- a/games-misc/sdljoytest/sdljoytest-11102003.ebuild
+++ b/games-misc/sdljoytest/sdljoytest-11102003.ebuild
@@ -1,6 +1,9 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/sdljoytest/sdljoytest-11102003.ebuild,v 1.2 2005/07/21 07:52:44 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/sdljoytest/sdljoytest-11102003.ebuild,v 1.3 2010/06/03 16:10:27 mr_bones_ Exp $
+
+EAPI=2
+inherit toolchain-funcs
DESCRIPTION="SDL app to test joysticks and game controllers"
HOMEPAGE="http://sdljoytest.sourceforge.net/"
@@ -11,15 +14,13 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-DEPEND="media-libs/libsdl
+DEPEND="media-libs/libsdl[joystick,video]
virtual/opengl
media-libs/sdl-image"
S=${WORKDIR}/SDLJoytest-GL
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
make clean || die "cleaning"
sed -i \
-e 's:/usr/local:/usr:' \
@@ -28,6 +29,7 @@ src_unpack() {
src_compile() {
emake \
+ CC=$(tc-getCC) \
CFLAGS="$(sdl-config --cflags) ${CFLAGS}" \
LDFLAGS="$(sdl-config --libs) -lGL ${LDFLAGS}" \
|| die
@@ -38,5 +40,4 @@ src_install() {
insinto /usr/share/SDLJoytest-GL
doins *.bmp || die "data"
doman SDLJoytest.1
- dodoc README
}