From ba7028f0a8f09cfc86516a6e3d991899bc541686 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 5 Dec 2017 09:31:47 +0000 Subject: [PATCH] Force the source_dir of ctpp2 source. The `source_dir` is automatically infer from the name of the dependency. As the ctpp2 source is use in two dependencies (ctpp2 and ctpp2c), if we use the default source_dir, kiwix-build will use one name and the other dependency will not find the source directory. By forcing the `source_dir`, both dependencies will use the same directory. --- dependencies.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dependencies.py b/dependencies.py index 3020454..59d9cd9 100644 --- a/dependencies.py +++ b/dependencies.py @@ -135,6 +135,8 @@ class CTPP2(Dependency): version = "2.8.3" class Source(ReleaseDownload): + name = "ctpp2" + source_dir = "ctpp2-2.8.3" archive = Remotefile('ctpp2-2.8.3.tar.gz', 'a83ffd07817adb575295ef40fbf759892512e5a63059c520f9062d9ab8fb42fc') patches = ["ctpp2_include.patch",