summaryrefslogtreecommitdiff
blob: 27983d59f74006edca26a685f2026a13a6a291c1 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/media-libs/mpeg-lib/mpeg-lib-1.3.1-r1.ebuild,v 1.4 2001/08/11 03:44:19 drobbins Exp $

P=mpeg_lib-${PV}
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="A lib for MPEG-1 video"
SRC_URI="ftp://ftp.mni.mcgill.ca/pub/mpeg/${A}"
HOMEPAGE="http://"

DEPEND="virtual/glibc"

src_compile() {

    try ./configure --prefix=/usr --host=${CHOST} --disable-dither

    # Doesn't work with -j 4 (hallski)
    try make OPTIMIZE="$CFLAGS"

}

src_install () {

    try make prefix=${D}/usr install
    dodoc CHANGES README
    docinto txt
    dodoc doc/image_format.eps doc/mpeg_lib.*

}