blob: 6b0f94cfe94e4766b7576c1ca486670de88eb37c (
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-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit toolchain-funcs
DESCRIPTION="Another Modeline Calculator, generates quality X11 display configs easily"
HOMEPAGE="http://sourceforge.net/projects/amlc.berlios/"
SRC_URI="https://dev.gentoo.org/~jer/${P}.cpp"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
S=${WORKDIR}
src_prepare() {
cp "${DISTDIR}"/${P}.cpp "${S}"
}
src_compile() {
$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} ${P}.cpp -o ${PN} || die
}
src_install() {
dobin ${PN}
}
|