summaryrefslogtreecommitdiff
blob: 1de49693271660ad9b774c822e7b5d54ab749e60 (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit git-r3 toolchain-funcs

DESCRIPTION="CVT (Coordinated Video Timings) modeline calculator with CVT v1.2 timings"
HOMEPAGE="https://github.com/kevinlekiller/cvt_modeline_calculator_12"
EGIT_REPO_URI="https://github.com/kevinlekiller/cvt_modeline_calculator_12.git"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=""
DEPEND=${RDEPEND}

src_compile() {
	echo "$(tc-getCC) ${LDFLAGS} ${CFLAGS} -Wall -o cvt12 cvt12.c -lm"
	$(tc-getCC) ${LDFLAGS} ${CFLAGS} -Wall -o cvt12 cvt12.c -lm || die "compile failed"
}

src_install() {
	dobin cvt12
}