aboutsummaryrefslogtreecommitdiff
path: root/academic/sigrok-cli/sigrok-cli.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-28 13:51:37 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-01 19:35:46 +0700
commit9a3af401a51f50bdcb77b66b222d5c5668a8fef8 (patch)
tree9ff9ae3398fe0faf0900887d9d9de9adaa0971af /academic/sigrok-cli/sigrok-cli.SlackBuild
parent6a2b64433c2a6a5d252f8f1624affdf197181c28 (diff)
academic/sigrok-cli: Updated for version 20220222_525f481.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/sigrok-cli/sigrok-cli.SlackBuild')
-rw-r--r--academic/sigrok-cli/sigrok-cli.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/academic/sigrok-cli/sigrok-cli.SlackBuild b/academic/sigrok-cli/sigrok-cli.SlackBuild
index 248dd5813f50c..acf3296360ae1 100644
--- a/academic/sigrok-cli/sigrok-cli.SlackBuild
+++ b/academic/sigrok-cli/sigrok-cli.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sigrok-cli
-VERSION=${VERSION:-0.7.1}
+VERSION=${VERSION:-20220222_525f481}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,7 +70,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-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -79,6 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -99,7 +100,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
gzip -9 $PKG/usr/man/man1/sigrok-cli.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING HACKING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install