summaryrefslogtreecommitdiff
path: root/libraries/libyang
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2020-05-11 10:52:26 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-16 08:44:08 +0700
commitf26659aa588d79ce5c8384c33dbe98282ba84465 (patch)
tree53ad661ebb9cee4b53f355d711c139fa6bf3cd85 /libraries/libyang
parent874ea1700355410160c0b1f4342be73a0e91e583 (diff)
downloadslackbuilds-f26659aa588d79ce5c8384c33dbe98282ba84465.tar.gz
libraries/libyang: Updated for version 1.0.167.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libyang')
-rw-r--r--libraries/libyang/libyang.SlackBuild14
-rw-r--r--libraries/libyang/libyang.info6
2 files changed, 8 insertions, 12 deletions
diff --git a/libraries/libyang/libyang.SlackBuild b/libraries/libyang/libyang.SlackBuild
index 7cafc85c8c..89ee182434 100644
--- a/libraries/libyang/libyang.SlackBuild
+++ b/libraries/libyang/libyang.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libyang
-# Copyright 2019 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2019-2020 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,15 +22,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 20200103 bkw: Modified by Slackbuilds.org: VERSION can't contain hyphens.
-
PRGNAM=libyang
-VERSION=${VERSION:-0.16_r3}
+VERSION=${VERSION:-1.0.167}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVER=${VERSION/_/-}
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -63,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/libraries/libyang/libyang.info b/libraries/libyang/libyang.info
index 8fe1081f1e..e66a32012e 100644
--- a/libraries/libyang/libyang.info
+++ b/libraries/libyang/libyang.info
@@ -1,8 +1,8 @@
PRGNAM="libyang"
-VERSION="0.16_r3"
+VERSION="1.0.167"
HOMEPAGE="https://github.com/CESNET/libyang"
-DOWNLOAD="https://github.com/CESNET/libyang/archive/v0.16-r3/libyang-0.16-r3.tar.gz"
-MD5SUM="a7cc2cc10de2ec92a51eee69c98566fa"
+DOWNLOAD="https://github.com/CESNET/libyang/archive/v1.0.167/libyang-1.0.167.tar.gz"
+MD5SUM="686c11a19dd62e1cea863c67a8b3e125"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="cmocka"