blob: cb6545c1f3ceafc8548fe8535712e9d006025ad1 (
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-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="Simple ncurses-based typing tutor for learning the Dvorak keyboard layout"
HOMEPAGE="http://www.linalco.com/comunidad.html"
SRC_URI="http://www.linalco.com/ragnar/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
BDEPEND="virtual/pkgconfig"
DEPEND="sys-libs/ncurses:="
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-1.6.1-debian-changes.patch
"${FILESDIR}"/${PN}-1.6.1-makefile-flags.patch
"${FILESDIR}"/${PN}-1.6.1-ncurses-pkg-config.patch
)
src_compile() {
tc-export PKG_CONFIG
emake \
CC="$(tc-getCC)" \
PROF="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
}
src_install() {
dobin ${PN}
dodoc ChangeLog README
}
|