[vlc-commits] contribs: add xz
Rafaël Carré
git at videolan.org
Thu Nov 3 21:14:24 CET 2011
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Nov 3 16:13:32 2011 -0400| [7c2dd25a398c64858b0d0b30ebecdc118c470951] | committer: Rafaël Carré
contribs: add xz
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7c2dd25a398c64858b0d0b30ebecdc118c470951
---
contrib/src/xz/SHA512SUMS | 2 ++
contrib/src/xz/rules.mak | 24 ++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/contrib/src/xz/SHA512SUMS b/contrib/src/xz/SHA512SUMS
new file mode 100644
index 0000000..6768b7d
--- /dev/null
+++ b/contrib/src/xz/SHA512SUMS
@@ -0,0 +1,2 @@
+4afa838925983f8927f62c5499c61e0a4a7f2ed9e5b9074fddaf43b28317892d954e404a142e156c8a02f5896154376d7010a67cc8b6faf984caaffd3705499e xz-5.0.3.tar.bz2
+
diff --git a/contrib/src/xz/rules.mak b/contrib/src/xz/rules.mak
new file mode 100644
index 0000000..7b6dd14
--- /dev/null
+++ b/contrib/src/xz/rules.mak
@@ -0,0 +1,24 @@
+# xz
+
+XZ_VERSION := 5.0.3
+
+XZ_URL := http://tukaani.org/xz/xz-$(XZ_VERSION).tar.bz2
+
+PKGS += xz
+ifeq ($(shell xz --version), )
+PKGS_FOUND += xz
+endif
+
+$(TARBALLS)/xz-$(XZ_VERSION).tar.bz2:
+ $(call download,$(XZ_URL))
+
+.sum-xz: xz-$(XZ_VERSION).tar.bz2
+
+xz: xz-$(XZ_VERSION).tar.bz2 .sum-xz
+ $(UNPACK)
+ $(MOVE)
+
+.xz: xz
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+ cd $< && $(MAKE) install
+ touch $@
More information about the vlc-commits
mailing list