mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-27 21:39:34 +00:00
It seems that the downloading of the archive stored on sourceforge fails sometime. Use the archive stored in our server (download.kiwix.org) instead. And also move to the last version of lzma.
20 lines
525 B
Python
20 lines
525 B
Python
from .base import (
|
|
Dependency,
|
|
ReleaseDownload,
|
|
MakeBuilder)
|
|
|
|
from kiwixbuild.utils import Remotefile
|
|
|
|
class lzma(Dependency):
|
|
name = 'lzma'
|
|
|
|
class Source(ReleaseDownload):
|
|
archive = Remotefile('xz-5.2.4.tar.gz',
|
|
'b512f3b726d3b37b6dc4c8570e137b9311e7552e8ccbab4d39d47ce5f4177145'
|
|
)
|
|
|
|
class Builder(MakeBuilder):
|
|
@property
|
|
def configure_option(self):
|
|
return "--disable-assembler --disable-xz --disable-xzdec"
|