# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/flasm/flasm-1.6.2.ebuild,v 1.1 2007/09/03 09:42:17 pclouds Exp $ inherit eutils versionator toolchain-funcs MY_PV=$(delete_all_version_separators $(get_version_component_range 1-2)) DESCRIPTION="Command line assembler/disassembler of Flash ActionScript bytecode" HOMEPAGE="http://www.nowrap.de/flasm.html" SRC_URI="http://www.nowrap.de/download/flasm${MY_PV}src.zip" RESTRICT="mirror" LICENSE="BSD" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" RDEPEND="sys-libs/zlib" DEPEND="${RDEPEND} app-arch/unzip sys-devel/flex sys-devel/bison dev-util/gperf" S="${WORKDIR}" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-makefile.patch } src_compile() { tc-export CC emake || die "emake failed" } src_install() { dobin flasm dodoc CHANGES.TXT dohtml flasm.html classic.css }