blob: 392db76b594a34664cc3c2d438c7c652d18595ca (
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
41
42
43
44
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libswf/libswf-0.99.ebuild,v 1.21 2005/12/26 20:33:08 blubb Exp $
inherit multilib
S=${WORKDIR}/dist
DESCRIPTION="A library for flash movies"
SRC_URI="http://reality.sgi.com/grafica/flash/dist.99.linux.tar.Z"
HOMEPAGE="ftp://ftp.sgi.com/sgi/graphics/grafica/flash/index.html"
SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 -sparc -ppc -hppa -mips amd64"
IUSE=""
pkg_setup() {
has_multilib_profile && ABI="x86"
}
DEPEND="virtual/libc
app-arch/unzip"
src_unpack () {
unpack ${A}
if [ -f dist.99.linux.tar ]; then
tar -xf dist.99.linux.tar
fi
cd ${S}
sed -e 's:\tswftest:\t./swftest:' -i Makefile || die "sed failed"
}
src_install () {
dolib.a libswf.a
dobin bin/*
insinto /usr/include
doins swf.h
insinto /usr/share/swf/fonts
doins fonts/*
insinto /usr/share/swf/psfonts
doins psfonts/*
dohtml *.html
}
|