aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/yate/yate.SlackBuild6
-rw-r--r--network/yate/yate.info2
2 files changed, 5 insertions, 3 deletions
diff --git a/network/yate/yate.SlackBuild b/network/yate/yate.SlackBuild
index 005f99c08670..e494cb88772f 100644
--- a/network/yate/yate.SlackBuild
+++ b/network/yate/yate.SlackBuild
@@ -4,10 +4,12 @@
# Michales (clavisound) Michaloudes korgie@gmail.com <2013>
PRGNAM=yate
-VERSION=${VERSION:-4.3.0-1}
+VERSION=${VERSION:-4.3.0_1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=$(echo $VERSION | tr _ -)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -39,7 +41,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
# canonicalize temp folder
mv $PRGNAM $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
diff --git a/network/yate/yate.info b/network/yate/yate.info
index 54373a139820..bdbbf41898ec 100644
--- a/network/yate/yate.info
+++ b/network/yate/yate.info
@@ -1,5 +1,5 @@
PRGNAM="yate"
-VERSION="4.3.0-1"
+VERSION="4.3.0_1"
HOMEPAGE="http://yate.null.ro/"
DOWNLOAD="http://yate.null.ro/tarballs/yate4/yate-4.3.0-1.tar.gz"
MD5SUM="be4fc92de4ff48c481b390785ad18c31"