summaryrefslogtreecommitdiff
blob: 7eb366dc221e61d14549923efe5cc004fb6a81be (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
# 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/divx4linux/divx4linux-20020418.ebuild,v 1.7 2002/08/16 22:22:59 gerk Exp $

DXVER=501
S="${WORKDIR}/${PN}-${PV}"
DESCRIPTION="Binary release of DivX Codec 5.0.1"
SRC_URI="http://download.divx.com/divx/${PN}${DXVER}-${PV}.tgz"
HOMEPAGE="http://www.divx.com/"

DEPEND="virtual/glibc"

SLOT="0"
LICENSE="DIVX"
KEYWORDS="x86 ppc sparc sparc64"


# Make sure Portage does _NOT_ strip symbols.  Need both lines for
# Portage 1.8.9+
DEBUG="yes"
RESTRICT="nostrip"

src_install() {
	
	dodir /usr/{lib,include}

	# Do the divx50 decoder stuff
	dolib.so *.so
	insinto /usr/include
	doins *.h
	dodoc README.linux license.txt
	mkdir ${D}/usr/share/doc/${P}/html
	cp -a 'DivX MPEG-4 Codec and Its Interface.htm' ${D}/usr/share/doc/${P}/html
}