From 032b1aa9c19f4a21d2afc274fb3b63fcb4084ea3 Mon Sep 17 00:00:00 2001
From: aviau <alexandre@alexandreviau.net>
Date: Tue, 10 May 2016 10:31:19 -0400
Subject: [PATCH] Contrib: updated libiax rules to new tarball contents

The directory name inside the tarball has changed. This
commit adapts the build system to the new directory name.
We also pin the version so that the contrib does not break
if the repository is ever updated.

Tuleap: #670
Change-Id: I973505eb7dec31591e382ac697f9527097399b27
---
 contrib/src/iax/rules.mak | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/contrib/src/iax/rules.mak b/contrib/src/iax/rules.mak
index 063b976bed..1008982ef3 100644
--- a/contrib/src/iax/rules.mak
+++ b/contrib/src/iax/rules.mak
@@ -1,6 +1,7 @@
 #IAX
 
-IAX_URL = https://gitlab.savoirfairelinux.com/sflphone/libiax2/repository/archive.tar.gz
+IAX_VERSION = 0e5980f1d78ce462e2d1ed6bc39ff35c8341f201
+IAX_URL = https://gitlab.savoirfairelinux.com/sflphone/libiax2/repository/archive.tar.gz?ref=$(IAX_VERSION)
 
 PKGS += iax
 
@@ -13,7 +14,7 @@ $(TARBALLS)/iax-git.tar.gz:
 
 iax: iax-git.tar.gz .sum-iax
 	$(UNPACK)
-	mv libiax2.git $@
+	mv libiax2-$(IAX_VERSION)-$(IAX_VERSION) $@
 	touch $@
 
 
-- 
GitLab