diff options
Diffstat (limited to 'academic/sigrok-cli/sigrok-cli.SlackBuild')
-rw-r--r-- | academic/sigrok-cli/sigrok-cli.SlackBuild | 7 |
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 |