Added docopt cpp dependency to zimtools. It will be needed to the new version of zimdump

Do not build docopt on android and iOS.
This commit is contained in:
MiguelRocha
2020-04-21 18:35:11 +01:00
committed by Matthieu Gautier
parent ce329b6a79
commit 3e2df9a8e8
5 changed files with 28 additions and 2 deletions

View File

@ -0,0 +1,20 @@
from .base import (
Dependency,
ReleaseDownload,
CMakeBuilder)
from kiwixbuild.utils import Remotefile
class docoptcpp(Dependency):
name = 'docoptcpp'
class Source(ReleaseDownload):
archive = Remotefile('v0.6.2.tar.gz',
'c05542245232420d735c7699098b1ea130e3a92bade473b64baf876cdf098a17',
'https://github.com/docopt/docopt.cpp/archive/v0.6.2.tar.gz')
class Builder(CMakeBuilder):
make_install_target = 'install'