blob: d72673cb89a8fbf4111000278edb8fcf9f5e35c5 (
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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/ccextractor/ccextractor-0.54.ebuild,v 1.1 2009/06/01 15:01:03 beandog Exp $
inherit toolchain-funcs
MY_P="${PN}.${PV}"
DESCRIPTION="Extract closed captioning subtitles from video to SRT"
HOMEPAGE="http://ccextractor.sourceforge.net/"
SRC_URI="mirror://sourceforge/ccextractor/${MY_P}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND=""
S="${WORKDIR}/${MY_P}"
src_compile() {
cd "${S}"/src
$(tc-getCXX) -D_FILE_OFFSET_BITS=64 -o ccextractor \
*.cpp || die "src_compile died"
}
src_install() {
dobin "${S}/src/ccextractor"
dodoc "${S}"/docs/*.TXT
}
|