[vlc-devel] [PATCH] contrib: add libdsm and its dependency libtasn1

Rémi Denis-Courmont remi at remlab.net
Mon Jul 7 19:30:21 CEST 2014


Le lundi 7 juillet 2014, 19:21:46 Felix Paul Kühne a écrit :
> diff --git a/contrib/src/libtasn1/rules.mak b/contrib/src/libtasn1/rules.mak
> new file mode 100644
> index 0000000..37f4675
> --- /dev/null
> +++ b/contrib/src/libtasn1/rules.mak
> @@ -0,0 +1,24 @@
> +# 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))
> +
> +.sum-libtasn1: libtasn1-$(LIBTASN1_VERSION).tar.gz
> +	$(warning $@ not implemented)

Why?

> +	touch $@
> +
> +libtasn1: libtasn1-$(LIBTASN1_VERSION).tar.gz .sum-libtasn1
> +	$(UNPACK)
> +	$(MOVE)
> +
> +.libtasn1: libtasn1
> +	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
> +	cd $< && $(MAKE) install
> +	touch $@

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list