summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2013-11-24 11:07:35 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-24 19:23:45 +0700
commit1d8c6aae38c243b2fd462832a46848376057c469 (patch)
tree7f03992b0399672c59700957f08cd6c821117585 /network
parent24dde203cbe46cd907f754e72d242b533d6bdb4e (diff)
downloadslackbuilds-1d8c6aae38c243b2fd462832a46848376057c469.tar.gz
network/yate: Fixed version numbering.
Was using a hyphen in VERSION. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-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 005f99c086..e494cb8877 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 54373a1398..bdbbf41898 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"