[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser-build/master] Bug 32992: TBB Project for LZMA
commit bd21fef218312e8c64e932de989a848e98e2027a
Author: sisbell <shane.isbell@xxxxxxxxx>
Date: Mon Feb 10 15:47:04 2020 -0800
Bug 32992: TBB Project for LZMA
---
keyring/xz.gpg | Bin 0 -> 6513 bytes
projects/xz/build | 16 ++++++++++++++++
projects/xz/config | 23 +++++++++++++++++++++++
3 files changed, 39 insertions(+)
diff --git a/keyring/xz.gpg b/keyring/xz.gpg
new file mode 100644
index 0000000..75ee11f
Binary files /dev/null and b/keyring/xz.gpg differ
diff --git a/projects/xz/build b/projects/xz/build
new file mode 100644
index 0000000..4ef654c
--- /dev/null
+++ b/projects/xz/build
@@ -0,0 +1,16 @@
+#!/bin/bash
+[% c("var/set_default_env") -%]
+[% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
+distdir=/var/tmp/dist/[% project %]
+mkdir -p $distdir
+mkdir -p /var/tmp/build
+tar -C /var/tmp/build -xf [% project %]-[% c('version') %].tar.gz
+cd /var/tmp/build/[% project %]-[% c('version') %]
+./autogen.sh
+./configure [% c("var/configure_opt") %] --prefix=$distdir
+make -j[% c("buildconf/num_procs") %] install
+cd /var/tmp/dist
+[% c('tar', {
+ tar_src => [ project ],
+ tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
+ }) %]
diff --git a/projects/xz/config b/projects/xz/config
new file mode 100644
index 0000000..eac35e1
--- /dev/null
+++ b/projects/xz/config
@@ -0,0 +1,23 @@
+# vim: filetype=yaml sw=2
+version: 5.2.4
+git_url: https://git.tukaani.org/xz.git
+git_hash: 'v[% c("version") %]'
+tag_gpg_id: 1
+gpg_keyring: xz.gpg
+filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
+
+var:
+ container:
+ use_container: 1
+
+targets:
+ android:
+ var:
+ arch_deps:
+ - autopoint
+ configure_opt_project: --disable-shared --disable-xz --disable-xzdec --disable-lzmadec --disable-lzmainfo --disable-lzma-links --disable-scripts --disable-doc
+
+input_files:
+ - project: container-image
+ - name: '[% c("var/compiler") %]'
+ project: '[% c("var/compiler") %]'
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits