summaryrefslogtreecommitdiff
blob: 0ce434d4fe340bf521c236ce51e965cb30f05886 (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.55.ebuild,v 1.2 2009/12/03 11:15:13 maekke 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 ~x86"
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
}