[vlc-commits] contrib: add libdsm (v0.0.2) and its dependency libtasn1 (v3.7)

Felix Paul Kühne git at videolan.org
Sat Jul 12 15:44:43 CEST 2014


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jul 12 15:43:18 2014 +0200| [181fc15408a339a89adc2e0b5a4a9ae1ef49576e] | committer: Felix Paul Kühne

contrib: add libdsm (v0.0.2) and its dependency libtasn1 (v3.7)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=181fc15408a339a89adc2e0b5a4a9ae1ef49576e
---

 contrib/src/libdsm/SHA512SUMS   |    1 +
 contrib/src/libdsm/rules.mak    |   23 +++++++++++++++++++++++
 contrib/src/libtasn1/SHA512SUMS |    1 +
 contrib/src/libtasn1/rules.mak  |   20 ++++++++++++++++++++
 4 files changed, 45 insertions(+)

diff --git a/contrib/src/libdsm/SHA512SUMS b/contrib/src/libdsm/SHA512SUMS
new file mode 100644
index 0000000..846f9ee
--- /dev/null
+++ b/contrib/src/libdsm/SHA512SUMS
@@ -0,0 +1 @@
+b1b130a9c48c8908aa63cf7588ef1962ed53093029080fd8a5c5774cb88ed1fd12fe50fef308f88e36516dc3e3ec7ac8046380db0f2b8de2cc01383115002f7f  libdsm-0.0.2.tar.gz
diff --git a/contrib/src/libdsm/rules.mak b/contrib/src/libdsm/rules.mak
new file mode 100644
index 0000000..0082f20
--- /dev/null
+++ b/contrib/src/libdsm/rules.mak
@@ -0,0 +1,23 @@
+# libdsm
+
+#LIBDSM_GITURL := git://github.com/videolabs/libdsm.git
+LIBDSM_VERSION := 0.0.2
+LIBDSM_URL := https://github.com/videolabs/libdsm/releases/download/v$(LIBDSM_VERSION)/libdsm-$(LIBDSM_VERSION).tar.gz
+
+ifeq ($(call need_pkg,"libdsm"),)
+PKGS_FOUND += libdsm
+endif
+
+$(TARBALLS)/libdsm-$(LIBDSM_VERSION).tar.gz:
+	$(call download,$(LIBDSM_URL))
+
+libdsm: libdsm-$(LIBDSM_VERSION).tar.gz .sum-libdsm
+	$(UNPACK)
+	$(MOVE)
+
+DEPS_libdsm = libtasn1 iconv
+
+.libdsm: libdsm
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+	cd $< && $(MAKE) install
+	touch $@
diff --git a/contrib/src/libtasn1/SHA512SUMS b/contrib/src/libtasn1/SHA512SUMS
new file mode 100644
index 0000000..bf2cafa
--- /dev/null
+++ b/contrib/src/libtasn1/SHA512SUMS
@@ -0,0 +1 @@
+8480507d6bc6b15f4a765d6c268026efd564a07eaacb25388a9c4e67bcba1f0d97f52fc348153f1775f6feecb95113ce067a81b1dc694825c5e178e6cf9a67aa  libtasn1-3.7.tar.gz
diff --git a/contrib/src/libtasn1/rules.mak b/contrib/src/libtasn1/rules.mak
new file mode 100644
index 0000000..399bf48
--- /dev/null
+++ b/contrib/src/libtasn1/rules.mak
@@ -0,0 +1,20 @@
+# libtasn1
+
+LIBTASN1_VERSION := 3.7
+LIBTASN1_URL := $(GNU)/libtasn1/libtasn1-$(LIBTASN1_VERSION).tar.gz
+
+ifeq ($(call need_pkg,"libtasn1"),)
+PKGS_FOUND += libtasn1
+endif
+
+$(TARBALLS)/libtasn1-$(LIBTASN1_VERSION).tar.gz:
+	$(call download,$(LIBTASN1_URL))
+
+libtasn1: libtasn1-$(LIBTASN1_VERSION).tar.gz .sum-libtasn1
+	$(UNPACK)
+	$(MOVE)
+
+.libtasn1: libtasn1
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+	cd $< && $(MAKE) install
+	touch $@



More information about the vlc-commits mailing list