| # Copyright 1999-2009 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Header: /var/cvsroot/gentoo-x86/media-gfx/swftools/swftools-0.8.1.ebuild,v 1.9 2009/07/06 21:53:46 jer Exp $ |
| |
| inherit eutils |
| |
| DESCRIPTION="SWF Tools is a collection of SWF manipulation and generation utilities" |
| HOMEPAGE="http://www.swftools.org/" |
| SRC_URI="http://www.swftools.org/${P}.tar.gz" |
| LICENSE="GPL-2" |
| SLOT="0" |
| KEYWORDS="amd64 hppa ~ppc ~sparc x86" |
| IUSE="" |
| |
| DEPEND=">=media-libs/t1lib-1.3.1 |
| media-libs/freetype |
| media-libs/jpeg |
| !<media-libs/ming-0.4.0_rc2" |
| RDEPEND="" |
| |
| src_compile() { |
| econf |
| |
| # disable the python interface; there's no configure switch; bug 118242 |
| echo "all install uninstall clean:" > lib/python/Makefile |
| |
| emake |
| } |
| |
| src_install() { |
| einstall || die "Install died." |
| dodoc AUTHORS ChangeLog FAQ TODO |
| } |
| |
| pkg_postinst() { |
| elog |
| elog "avifile is currently not supported." |
| elog "Therefore, avi2swf was not installed." |
| elog |
| } |