blob: 587979f727ed4c59c051b2a8edb809a1f23d0c89 (
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
45
|
# 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/libmpeg3/libmpeg3-1.5.ebuild,v 1.2 2002/07/11 06:30:39 drobbins Exp $
S=${WORKDIR}/${PN}
DESCRIPTION="An mpeg library for linux"
SRC_URI="http://heroinewarrior.com/${P}.tar.gz"
HOMEPAGE="http://heroinewarrior.com/libmpeg3.php3"
RDEPEND="sys-libs/zlib
media-libs/jpeg"
DEPEND="${RDEPEND}
dev-lang/nasm"
src_compile() {
cp Makefile Makefile.orig
sed 's:cp $(UTILS) /usr/bin:cp $(UTILS) ${D}/usr/bin:' \
Makefile.orig > Makefile
export CFLAGS=${CFLAGS}
make ${myconf} || die
}
src_install () {
dodir /usr/bin
make install || die
dolib.a ${CHOST%%-*}/libmpeg3.a
insinto /usr/include/libmpeg3/${CHOST%%-*}
doins *.{h,inc}
insinto /usr/include/libmpeg3/audio
doins audio/*.h
insinto /usr/include/libmpeg3/video
doins video/*.h
dohtml docs/*.html
}
|