blob: c044b1068a275d949c912803be243d7112d4b791 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/media-libs/libflash/libflash-0.4.10-r1.ebuild,v 1.3 2002/08/14 13:08:09 murphy Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A library for flash animations"
SRC_URI="http://www.directfb.org/download/contrib/${P}.tar.gz"
HOMEPAGE="http://www.swift-tools.com/Flash/"
DEPEND="media-libs/jpeg
sys-libs/zlib"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc sparc64"
src_unpack() {
unpack ${P}.tar.gz
# patch to fix the sqrt not defined problem in gcc3.1
# It should be ok with gcc2.95 thanks to Doug Goldstein
# <dougg@ufl.edu> (Cardoe)
patch -p0 < ${FILESDIR}/${P}-sqrt.patch || die
}
src_compile() {
econf || die "Configure failed"
emake || die "Make failed"
}
src_install () {
make DESTDIR=${D} install || die "Install failed"
dodoc AUTHORS COPYING ChangeLog NEWS README
}
|