mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
0c0185487f
commit
3bd59719d6
2 changed files with 9 additions and 6 deletions
|
@ -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
|
||||||
|
|
|
@ -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=""
|
||||||
|
|
Loading…
Reference in a new issue