mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-28 05:49:33 +00:00
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:
committed by
Matthieu Gautier
parent
ce329b6a79
commit
3e2df9a8e8
20
kiwixbuild/dependencies/docoptcpp.py
Normal file
20
kiwixbuild/dependencies/docoptcpp.py
Normal 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'
|
||||
|
Reference in New Issue
Block a user