SUMMARY="A tool used to produce subtitles for TV recordings" DESCRIPTION="CCExtractor is a tool used to produce subtitles for TV \ recordings from almost anywhere in the world." HOMEPAGE="https://www.ccextractor.org/" COPYRIGHT="2017 Carlos Fernandez and others" LICENSE="GNU GPL v2" REVISION="2" SOURCE_URI="https://github.com/ccextractor/ccextractor/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7" PATCHES="ccextractor-$portVersion.patchset" ARCHITECTURES="all ?x86_gcc2 ?x86" PROVIDES=" ccextractor = $portVersion cmd:ccextractor = $portVersion " REQUIRES=" haiku lib:libcurl lib:libiconv lib:liblept lib:libtesseract " BUILD_REQUIRES=" haiku_devel devel:libcurl devel:libiconv devel:liblept devel:libtesseract " BUILD_PREREQUIRES=" cmd:find cmd:g++ cmd:gcc cmd:ld " BUILD() { cd linux chmod +x ./*.sh sh ./build } INSTALL() { install -d $binDir install linux/ccextractor $binDir }