summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaarp <main.haarp@gmail.com>2015-03-09 13:02:24 +0100
committerhaarp <main.haarp@gmail.com>2015-03-09 13:02:24 +0100
commit668b5c8d011a2e77f521dada397d17e2084124bd (patch)
treec7bc559e7e51257ba6cc231bb775ab646a5b1b3f /app-misc/umouse
downloadhaarp-668b5c8d011a2e77f521dada397d17e2084124bd.tar.gz
haarp-668b5c8d011a2e77f521dada397d17e2084124bd.tar.bz2
haarp-668b5c8d011a2e77f521dada397d17e2084124bd.zip
populate overlay
Diffstat (limited to 'app-misc/umouse')
-rw-r--r--app-misc/umouse/Manifest2
-rw-r--r--app-misc/umouse/umouse-1.0.ebuild34
2 files changed, 36 insertions, 0 deletions
diff --git a/app-misc/umouse/Manifest b/app-misc/umouse/Manifest
new file mode 100644
index 0000000..d1f3551
--- /dev/null
+++ b/app-misc/umouse/Manifest
@@ -0,0 +1,2 @@
+DIST umouse.c 1297 SHA256 dcb534f99edee12e61c0424d3c30efc5f69152c2ca0a75af9e68037a9c23ad9d SHA512 4a05b5b80d95d18abfc546e625277103361ba02bac9b56bc3d34f2aa8d9fc5cc2eac0dabd57d1b444f9ab9420945bc740473c38f516888a76b15e5ea18cd49c4 WHIRLPOOL 3bcac3e96365b449f616cc029c27c387ebc145904c69620b24a430a9a0395ca9e321daa7ab3459fa2a4d20a40e35fd7cbc88c694b4d4d536de634ffe6f5777d5
+EBUILD umouse-1.0.ebuild 711 SHA256 b221cf8e45b9944b4c92ac26669cf1b6cb1afd852e90f381832fd5f2cbb330f5 SHA512 91cc09cdb9cc1364e31b61582ab62fa0962f0959029345957234a46f5365d664bd0a9c717204ecf5417f87363c8107b0bbbc8f951229809e5bf031a6e3461205 WHIRLPOOL 4b50d950efdb61548dae14dc96df3652bcef61ae8d3ee8f737a0f36da89891d2ed620cae4df9af25a47636fa50902da42ad1fe57cd4917910bd46c3b87d22dd8
diff --git a/app-misc/umouse/umouse-1.0.ebuild b/app-misc/umouse/umouse-1.0.ebuild
new file mode 100644
index 0000000..10bd6a1
--- /dev/null
+++ b/app-misc/umouse/umouse-1.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="Unlocks the mouse pointer when an SDL app crashes"
+HOMEPAGE="http://icculus.org/lgfaq/#umouse"
+SRC_URI="http://icculus.org/misc/${PN}.c"
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl"
+DEPEND=${RDEPEND}
+
+S="${WORKDIR}"
+
+src_unpack() {
+ cp "${DISTDIR}"/${A} "${WORKDIR}"/
+}
+
+src_compile() {
+ einfo "$(tc-getCC) $(sdl-config --cflags) $(sdl-config --libs) ${LDFLAGS} ${CFLAGS} -o ${PN} ${PN}.c"
+ $(tc-getCC) $(sdl-config --cflags) $(sdl-config --libs) ${LDFLAGS} ${CFLAGS} -o ${PN} ${PN}.c
+}
+
+src_install() {
+ dobin umouse
+}