network/sic: Updated for version 1.3.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-03 22:43:33 -05:00 committed by Willy Sudiarto Raharjo
parent 0c0185487f
commit 3bd59719d6
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 6 deletions

View file

@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20230103 bkw: update for v1.3, strip binary.
# 20210924 bkw: # 20210924 bkw:
# - update for latest git. # - update for latest git.
# - add support for SLASH=yes. # - add support for SLASH=yes.
@ -42,7 +44,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sic PRGNAM=sic
VERSION=${VERSION:-1.2+20210506_058547e} VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -84,7 +86,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z tar xvf $CWD/$PRGNAM-$VERSION.tar.[xg]z
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
chmod 644 * chmod 644 *
@ -125,7 +127,7 @@ if [ "${SLASH:-no}" = "yes" ]; then
sed -i '/^\.BI :/s,:,/,' $PRGNAM.1 sed -i '/^\.BI :/s,:,/,' $PRGNAM.1
fi fi
CFLAGS="$SLKCFLAGS -Wl,-s" \ CFLAGS="$SLKCFLAGS" \
DESTDIR=$PKG \ DESTDIR=$PKG \
make \ make \
VERSION="$VERSION" \ VERSION="$VERSION" \
@ -134,6 +136,7 @@ make \
MANPREFIX=/usr/man \ MANPREFIX=/usr/man \
install install
strip $PKG/usr/bin/$PRGNAM
gzip -9 $PKG/usr/man/man1/$PRGNAM.1 gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="sic" PRGNAM="sic"
VERSION="1.2+20210506_058547e" VERSION="1.3"
HOMEPAGE="http://tools.suckless.org/sic" HOMEPAGE="http://tools.suckless.org/sic"
DOWNLOAD="https://slackware.uk/~urchlay/src/sic-1.2+20210506_058547e.tar.xz" DOWNLOAD="http://dl.suckless.org/tools/sic-1.3.tar.gz"
MD5SUM="e28bbec757711fd3a8883200e467b088" MD5SUM="be0a6fd28738d3c626d70f1b1f33adb5"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""