You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-apps/amlc/amlc-0.5.1.ebuild

29 lines
655 B

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-apps/amlc/amlc-0.5.1.ebuild,v 1.6 2008/02/25 16:36:36 drac Exp $
inherit toolchain-funcs
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="amd64 x86"
IUSE=""
S=${WORKDIR}
src_unpack() {
cp "${DISTDIR}"/${P}.cpp "${S}"
}
src_compile() {
$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} ${P}.cpp -o ${PN} || die "build failed."
}
src_install() {
dobin ${PN}
}