summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-21 03:34:29 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-21 03:34:29 +0000
commitd828f6a6b40c61205c0e7a3f5da02d0a1448621b (patch)
tree76d1c63e05d7c35100cb522b0e107dffbc476edd /games-misc/sdljoytest
parentmake sure we use custom CFLAGS/CXXFLAGS (diff)
downloadgentoo-2-d828f6a6b40c61205c0e7a3f5da02d0a1448621b.tar.gz
gentoo-2-d828f6a6b40c61205c0e7a3f5da02d0a1448621b.tar.bz2
gentoo-2-d828f6a6b40c61205c0e7a3f5da02d0a1448621b.zip
initial import
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-misc/sdljoytest')
-rw-r--r--games-misc/sdljoytest/ChangeLog8
-rw-r--r--games-misc/sdljoytest/Manifest2
-rw-r--r--games-misc/sdljoytest/files/digest-sdljoytest-111020031
-rw-r--r--games-misc/sdljoytest/metadata.xml5
-rw-r--r--games-misc/sdljoytest/sdljoytest-11102003.ebuild42
5 files changed, 58 insertions, 0 deletions
diff --git a/games-misc/sdljoytest/ChangeLog b/games-misc/sdljoytest/ChangeLog
new file mode 100644
index 000000000000..1301f066d9da
--- /dev/null
+++ b/games-misc/sdljoytest/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-misc/sdljoytest
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/sdljoytest/ChangeLog,v 1.1 2005/07/21 03:34:29 vapier Exp $
+
+*sdljoytest-11102003 (20 Jul 2005)
+
+ 20 Jul 2005; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-misc/sdljoytest/Manifest b/games-misc/sdljoytest/Manifest
new file mode 100644
index 000000000000..a11fe39c003b
--- /dev/null
+++ b/games-misc/sdljoytest/Manifest
@@ -0,0 +1,2 @@
+MD5 8d37b4e9e9d016104551c6261ee23219 sdljoytest-11102003.ebuild 459
+MD5 81dfc03aacefdec31e6a850447b75303 files/digest-sdljoytest-11102003 74
diff --git a/games-misc/sdljoytest/files/digest-sdljoytest-11102003 b/games-misc/sdljoytest/files/digest-sdljoytest-11102003
new file mode 100644
index 000000000000..1b59bbf37091
--- /dev/null
+++ b/games-misc/sdljoytest/files/digest-sdljoytest-11102003
@@ -0,0 +1 @@
+MD5 bd80f7a1537dc0e17c9d524f0b29f5ee SDLJoytest-GL-11102003.tar.bz2 85997
diff --git a/games-misc/sdljoytest/metadata.xml b/games-misc/sdljoytest/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/sdljoytest/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-misc/sdljoytest/sdljoytest-11102003.ebuild b/games-misc/sdljoytest/sdljoytest-11102003.ebuild
new file mode 100644
index 000000000000..109a6d4d06b6
--- /dev/null
+++ b/games-misc/sdljoytest/sdljoytest-11102003.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 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.1 2005/07/21 03:34:29 vapier Exp $
+
+DESCRIPTION="SDL app to test joysticks and game controllers"
+HOMEPAGE="http://sdljoytest.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sdljoytest/SDLJoytest-GL-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ virtual/opengl
+ media-libs/sdl-image"
+
+S=${WORKDIR}/SDLJoytest-GL
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ make clean || die "cleaning"
+ sed -i \
+ -e 's:/usr/local:/usr:' \
+ joytest.h || die "seding data path"
+}
+
+src_compile() {
+ emake \
+ CFLAGS="$(sdl-config --cflags) ${CFLAGS}" \
+ LDFLAGS="$(sdl-config --libs) -lGL ${LDFLAGS}" \
+ || die
+}
+
+src_install() {
+ dobin SDLJoytest-GL || die "dobin"
+ insinto /usr/share/SDLJoytest-GL
+ doins *.bmp || die "data"
+ doman SDLJoytest.1
+ dodoc README
+}