blob: 0dfa221e160323b83dc8bbab592a5cc3d5e880b1 (
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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/bbtools/bbtools-1.9.ebuild,v 1.1.1.1 2005/11/30 09:57:40 chriswhite Exp $
inherit eutils
DESCRIPTION="bbdmux, bbinfo, bbvinfo and bbainfo from Brent Beyeler"
HOMEPAGE="http://members.cox.net/beyeler/bbmpeg.html"
SRC_URI="http://files.digital-digest.com/downloads/files/encode/bbtool${PV/./}_src.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
S=${WORKDIR}
src_unpack() {
unpack ${A}
mv BBINFO.cpp bbinfo.cpp || die
mv BITS.CPP bits.cpp || die
mv BITS.H bits.h || die
mv bbdmux.CPP bbdmux.cpp || die
rm *.ide
edos2unix *.cpp *.h
epatch "${FILESDIR}"/bbtools-${PV}-gentoo.patch
}
src_compile() {
emake || die "emake failed"
}
src_install() {
dobin bbainfo bbdmux bbinfo bbvinfo || die "dobin failed"
}
|