blob: 5a9df1a1e94e9c7329a9f6b6f3c973ad895bef67 (
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 Tox library."
HOMEPAGE="https://github.com/lehitoskin/libtoxcore-racket"
EGIT_REPO_URI="git://github.com/lehitoskin/libtoxcore-racket
https://github.com/lehitoskin/libtoxcore-racket"
LICENSE="GPL-3"
SLOT="0"
RDEPEND=">=dev-scheme/racket-6.0.1[X]
net-libs/tox"
src_prepare() {
epatch_user
}
src_compile() {
emake
}
src_install() {
emake DESTDIR="${D}/usr" install
}
pkg_postinst() {
raco link -i "/usr/share/racket/pkgs/libtoxcore-racket"
}
pkg_prerm() {
raco link -ir "/usr/share/racket/pkgs/libtoxcore-racket"
}
|