# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A C++ Library and a script language tool to create Flash (SWF) movies up to version 6." HOMEPAGE="http://sswf.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2 mirror://sourceforge/${PN}/lib${PN}_c-${PV}-g++4.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~x86 ~ppc ~amd64" IUSE="debug" RDEPEND="sys-libs/zlib media-libs/jpeg media-libs/freetype sys-devel/flex sys-devel/bison" DEPEND="${RDEPEND}" src_unpack() { unpack ${A} cp -r "${WORKDIR}"/{src,include} "${S}" } src_compile() { econf --disable-docs $(use_enable debug) emake || die "emake failed." } src_install () { emake DESTDIR=${D} install || die "emake install failed." dodoc README.txt doc/{NOTES.txt,TODO.txt,LINKS.txt,AUTHORS.txt, \ ASC-TODO.txt,CHANGES.txt} }