summaryrefslogtreecommitdiff
path: root/dev-scheme/libopenal-racket
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme/libopenal-racket')
-rw-r--r--dev-scheme/libopenal-racket/libopenal-racket-9999.ebuild37
-rw-r--r--dev-scheme/libopenal-racket/metadata.xml7
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-scheme/libopenal-racket/libopenal-racket-9999.ebuild b/dev-scheme/libopenal-racket/libopenal-racket-9999.ebuild
new file mode 100644
index 00000000..4004ef6c
--- /dev/null
+++ b/dev-scheme/libopenal-racket/libopenal-racket-9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils git-2
+
+DESCRIPTION="Racket bindings for the OpenAL library."
+HOMEPAGE="https://github.com/lehitoskin/libopenal-racket"
+EGIT_REPO_URI="git://github.com/lehitoskin/libopenal-racket
+ https://github.com/lehitoskin/libopenal-racket"
+LICENSE="ZLIB"
+SLOT="0"
+
+RDEPEND=">=dev-scheme/racket-6.0.1[X]
+ media-libs/openal"
+
+src_prepare() {
+ epatch_user
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ emake DESTDIR="${D}/usr" install
+}
+
+pkg_postinst() {
+ raco link -i "/usr/share/racket/pkgs/libopenal-racket"
+}
+
+pkg_prerm() {
+ raco link -ir "/usr/share/racket/pkgs/libopenal-racket"
+}
diff --git a/dev-scheme/libopenal-racket/metadata.xml b/dev-scheme/libopenal-racket/metadata.xml
new file mode 100644
index 00000000..cc3fe249
--- /dev/null
+++ b/dev-scheme/libopenal-racket/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-wanted@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>