summaryrefslogtreecommitdiffstats
path: root/contrib/xz
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/xz')
-rw-r--r--contrib/xz/module.defs15
-rw-r--r--contrib/xz/module.rules2
2 files changed, 17 insertions, 0 deletions
diff --git a/contrib/xz/module.defs b/contrib/xz/module.defs
new file mode 100644
index 000000000..eeeb286c4
--- /dev/null
+++ b/contrib/xz/module.defs
@@ -0,0 +1,15 @@
+$(eval $(call import.MODULE.defs,XZ,xz))
+$(eval $(call import.CONTRIB.defs,XZ))
+
+XZ.FETCH.url = https://download.handbrake.fr/handbrake/contrib/xz-5.2.4.tar.bz2
+XZ.FETCH.url += https://tukaani.org/xz/xz-5.2.4.tar.bz2
+XZ.FETCH.sha256 = 3313fd2a95f43d88e44264e6b015e7d03053e681860b0d5d3f9baca79c57b7bf
+
+XZ.CONFIGURE.extra = \
+ --disable-xz \
+ --disable-xzdec \
+ --disable-lzmadec \
+ --disable-lzmainfo \
+ --disable-scripts \
+ --disable-doc
+
diff --git a/contrib/xz/module.rules b/contrib/xz/module.rules
new file mode 100644
index 000000000..af55a9033
--- /dev/null
+++ b/contrib/xz/module.rules
@@ -0,0 +1,2 @@
+$(eval $(call import.MODULE.rules,XZ))
+$(eval $(call import.CONTRIB.rules,XZ))