summaryrefslogtreecommitdiff
blob: b96e29ba263d91bacd99412c68419ecc824eace9 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Another Modeline Calculator. Generates quality X11 display configs easily."
HOMEPAGE="http://amlc.berlios.de"
SRC_URI="http://amlc.berlios.de/src/${P}.cpp"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
S=${WORKDIR}

src_unpack() {
        cp ${DISTDIR}/${P}.cpp ${S}
}

src_compile() {
	g++ ${S}/${P}.cpp -o amlc -Os -Wall -pedantic
}

src_install() {
	dobin amlc
}