blob: ad3a774222d7893fbe9c3b04e335bfaca9507ba5 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
DESCRIPTION="the official CoffeeScript compiler"
HOMEPAGE="http://coffeescript.org/"
SRC_URI="http://github.com/jashkenas/${PN}/archive/${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="net-libs/nodejs"
DEPEND="${RDEPEND}"
src_compile() {
node bin/cake build
}
src_test() {
node bin/cake test
}
src_install() {
node bin/cake --prefix "${D}"/usr install
}
|