summaryrefslogtreecommitdiff
path: root/dev-scheme/libopenal-racket/libopenal-racket-9999.ebuild
blob: 4004ef6cc3e9c872e2f376f0859e7f1f0dae7643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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"
}