mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
52 lines
980 B
Bash
52 lines
980 B
Bash
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
|
|
}
|