|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/media-video/sswf/sswf-1.7.1.ebuild,v 1.1 2005/01/28 05:56:27 chriswhite Exp $ | # $Header: /var/cvsroot/gentoo-x86/media-video/sswf/sswf-1.7.1.ebuild,v 1.1 2005/01/28 05:56:27 chriswhite Exp $ |
| |
|
inherit eutils |
| |
DESCRIPTION="A C++ Library and a script language tool to create Flash (SWF) movies up to version 6." | DESCRIPTION="A C++ Library and a script language tool to create Flash (SWF) movies up to version 6." |
HOMEPAGE="http://sswf.sourceforge.net" | HOMEPAGE="http://sswf.sourceforge.net" |
|
|
| |
LICENSE="as-is" | LICENSE="as-is" |
SLOT="0" | SLOT="0" |
KEYWORDS="~x86 ~ppc" |
KEYWORDS="~x86 ~ppc ~amd64" |
IUSE="doc debug" | IUSE="doc debug" |
DEPEND="sys-libs/zlib | DEPEND="sys-libs/zlib |
media-libs/jpeg | media-libs/jpeg |
|
|
sys-devel/flex | sys-devel/flex |
sys-devel/bison" | sys-devel/bison" |
| |
|
src_unpack() { |
|
unpack ${A} |
|
cd ${S} |
|
# Fix the bitsize functions (safe on both 32 and 64bit) |
|
epatch ${FILESDIR}/bitsize.patch |
|
# Fix a badly defined struct (safe on both 32 and 64bit) |
|
epatch ${FILESDIR}/sound_wave_t.patch |
|
} |
|
|
|
|
|
|
src_compile() { | src_compile() { |
econf \ | econf \ |
$(use_enable debug) \ | $(use_enable debug) \ |