summaryrefslogtreecommitdiff
blob: 885e05c28b42e8732c403859c9f2c3eba3d0cdb3 (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
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="(Sun) Cobalt Qube/RaQ button reading and LCD writing utilities"
HOMEPAGE="https://people.debian.org/~pm/mips-cobalt/"
SRC_URI="https://people.debian.org/~pm/mips-cobalt/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~mips ~x86"

PATCHES=(
	"${FILESDIR}/${P}-include-stdlib.h-for-exit.patch"
	"${FILESDIR}/${P}-makefile.patch"
)

src_prepare() {
	default

	tc-export CC
}