diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-11-12 19:28:31 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-11-17 07:15:02 +0700 |
commit | 2b23111bc916c57c195df6a5014dc0567e8b9732 (patch) | |
tree | bad6ce4141b0b858e3577b43b4e73264a703a580 | |
parent | 20fb38e9a348fcf14fa207c07e28fd1c97f6e596 (diff) |
development/splint: Updated for version 20170327_3fb908d.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/splint/splint.SlackBuild | 29 | ||||
-rw-r--r-- | development/splint/splint.info | 6 |
2 files changed, 19 insertions, 16 deletions
diff --git a/development/splint/splint.SlackBuild b/development/splint/splint.SlackBuild index 713faa2be0553..e7cf5025a8325 100644 --- a/development/splint/splint.SlackBuild +++ b/development/splint/splint.SlackBuild @@ -13,7 +13,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=splint -VERSION=${VERSION:-3.1.2} +VERSION=${VERSION:-20170327_3fb908d} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,15 +57,20 @@ fi rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.src.tgz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-patched-$VERSION +tar xvf $CWD/$PRGNAM-patched-$VERSION.tar.xz +cd $PRGNAM-patched-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +automake --add-missing || true +autoreconf || true +automake --add-missing +autoreconf CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -78,20 +83,18 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux # Fix for bison-3 (LDFLAGS doesn't work) -sed -i \ - -e 's/^LIBS = $/LIBS = -lfl/' \ - src/Makefile +#sed -i \ +# -e 's/^LIBS = $/LIBS = -lfl/' \ +# src/Makefile make -j1 make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html cp -a README $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/development/splint/splint.info b/development/splint/splint.info index 9b7a232b07aac..7f0eca4c67f48 100644 --- a/development/splint/splint.info +++ b/development/splint/splint.info @@ -1,8 +1,8 @@ PRGNAM="splint" -VERSION="3.1.2" +VERSION="20170327_3fb908d" HOMEPAGE="http://www.splint.org/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/splint-3.1.2.src.tgz" -MD5SUM="25f47d70bd9c8bdddf6b03de5949c4fd" +DOWNLOAD="https://ponce.cc/slackware/sources/repo/splint-patched-20170327_3fb908d.tar.xz" +MD5SUM="998a1a87ee37313c683b1790f75b80d1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |