diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-21 03:34:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-21 03:34:29 +0000 |
commit | 8c488c3ca27a88709e37816b876ce60d30a9392b (patch) | |
tree | b9a9c01d6912234c09f2eb3de4ed292ea5683d4f /games-misc/sdljoytest | |
parent | make sure we use custom CFLAGS/CXXFLAGS (diff) | |
download | historical-8c488c3ca27a88709e37816b876ce60d30a9392b.tar.gz historical-8c488c3ca27a88709e37816b876ce60d30a9392b.tar.bz2 historical-8c488c3ca27a88709e37816b876ce60d30a9392b.zip |
initial import
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'games-misc/sdljoytest')
-rw-r--r-- | games-misc/sdljoytest/ChangeLog | 8 | ||||
-rw-r--r-- | games-misc/sdljoytest/Manifest | 14 | ||||
-rw-r--r-- | games-misc/sdljoytest/files/digest-sdljoytest-11102003 | 1 | ||||
-rw-r--r-- | games-misc/sdljoytest/metadata.xml | 5 | ||||
-rw-r--r-- | games-misc/sdljoytest/sdljoytest-11102003.ebuild | 42 |
5 files changed, 70 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..861cdd08964b --- /dev/null +++ b/games-misc/sdljoytest/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 82eb8ced5f60b9f8dddf8e7802f93497 sdljoytest-11102003.ebuild 991 +MD5 cc40574340eb0aedbdc2c8ced52dbe24 ChangeLog 346 +MD5 81dfc03aacefdec31e6a850447b75303 files/digest-sdljoytest-11102003 74 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFC3xfUgIKl8Uu19MoRAv1eAJ9EYY4b6IaPfnyXsUh6PoLbKRPGgACfZO7m +pc1eggVvKXwTBCUeJBf6BIo= +=nYZj +-----END PGP SIGNATURE----- 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 +} |