blob: 60af25c968d566bace50db8636601390a47ed1cd (
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
# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.2a.ebuild,v 1.4 2002/10/04 05:49:29 vapier Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A OpenSource library from flash movie generation"
SRC_URI="http://www.opaque.net/ming/${PN}-${PV}.tgz"
HOMEPAGE="http://www.opaque.net/ming/"
SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="x86 sparc sparc64"
DEPEND="virtual/glibc"
src_unpack() {
unpack ${A}
cd ${S}/util
patch -p0 < ${FILESDIR}/${PF}-gentoo.diff || die
}
src_compile() {
make all static || die
cd util
make bindump hexdump listswf listfdb listmp3 listjpeg makefdb swftophp \
|| die
}
src_install () {
dolib.so libming.so
dolib.a libming.a
insinto /usr/include
doins ming.h
exeinto /usr/lib/ming
doexe util/{bindump,hexdump,listswf,listfdb,listmp3,listjpeg,makefdb,swftophp}
dodoc CHANGES CREDITS LICENSE README TODO
newdoc util/README README.util
newdoc util/TODO TODO.util
}
|