mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
system/bin2iso: Update script + fix download URL.
Signed-off-by: orbea <orbea@riseup.net>
This commit is contained in:
parent
b71f7ab44c
commit
f1dc9e6db8
2 changed files with 13 additions and 9 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for bin2iso
|
||||
|
||||
# Copyright 2016 Hunter Sezen California, USA
|
||||
# Copyright 2016, 2019 Hunter Sezen California, USA
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=bin2iso
|
||||
VERSION=${VERSION:-19b}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -54,7 +54,7 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
set -eu
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
|
@ -63,12 +63,16 @@ rm -rf $PRGNAM-$VERSION
|
|||
mkdir $PRGNAM-$VERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
|
||||
[ -z "$CC" ] && CC=cc
|
||||
$CC $SLKCFLAGS -Wall -o $PRGNAM $CWD/$PRGNAM${VERSION}_linux.c
|
||||
install -Dm0755 $PRGNAM $PKG/usr/bin/$PRGNAM
|
||||
${CC:-cc} \
|
||||
$(printf %s "$SLKCFLAGS") -Wall -o $PRGNAM \
|
||||
$CWD/$PRGNAM${VERSION}_linux.c
|
||||
|
||||
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
|
||||
mkdir -p -- "$PKG/usr/bin"
|
||||
cp -- $PRGNAM "$PKG/usr/bin/"
|
||||
chmod 0755 -- "$PKG/usr/bin/$PRGNAM"
|
||||
|
||||
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
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp $CWD/readme.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
PRGNAM="bin2iso"
|
||||
VERSION="19b"
|
||||
HOMEPAGE="http://users.eastlink.ca/~doiron/bin2iso/"
|
||||
DOWNLOAD="http://users.eastlink.ca/~doiron/bin2iso/linux/bin2iso19b_linux.c"
|
||||
DOWNLOAD="http://slackware.uk/sbosrcarch/by-name/system/bin2iso/bin2iso19b_linux.c"
|
||||
MD5SUM="01dab72496175a772bcf6e08c854d440"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
|
|
Loading…
Reference in a new issue