# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit toolchain-funcs DESCRIPTION="Emulate zBoard Engine on Linux" HOMEPAGE="http://www.valdegames.com/pig/wordpress/2007/04/10/merc-zboard-driver-version-011/" SRC_URI="http://www.valdegames.com/pig/zboard/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" RDEPEND="" RESTRICT="mirror" #Remove if we hit portage src_compile() { cd src $(tc-getCXX) ${CFLAGS} -o ${PN} zboard-main.cpp || die "compile failed." } src_install() { dobin src/${PN} dodoc ChangeLog insinto /usr/share/${PN} doins -r zboard-config/* } pkg_postinst() { einfo "Default config file is located at /usr/share/${PN}/zboard.conf" }