multimedia/ivtv-utils: Download URL changed; fix.

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-10-30 18:31:29 -04:00 committed by Willy Sudiarto Raharjo
parent 4cb1cec026
commit 83ddf3ce68
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 13 additions and 11 deletions

View file

@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20231030 bkw: modified by SlackBuilds.org, BUILD=2:
# - add missing SlackBuild to /usr/doc dir.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ivtv-utils
VERSION=${VERSION:-1.4.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -38,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -76,9 +76,9 @@ tar xvf $CWD/ivtv-firmware-20080701.tar.gz
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 \
-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 {} \+
# Use SLKCFLAGS
sed -i "/^C.*.*FLAGS/s/=/+=/" Makefile
@ -100,8 +100,10 @@ for file in \
install -D -m644 $file $PKG/lib/firmware/$file
done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING* ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
cp -a COPYING* ChangeLog README $PKGDOC
# N.B. Remove stuff that clobbers existing files - thanks Arch Linux:
# Already provided by kernel headers

View file

@ -1,10 +1,10 @@
PRGNAM="ivtv-utils"
VERSION="1.4.1"
HOMEPAGE="http://ivtvdriver.org/"
DOWNLOAD="http://http.debian.net/debian/pool/contrib/i/ivtv-utils/ivtv-utils_1.4.1.orig.tar.gz \
ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles/ivtv-firmware-20080701.tar.gz"
DOWNLOAD="https://slackware.uk/~urchlay/src/ivtv-utils_1.4.1.orig.tar.gz \
https://distfiles.gentoo.org/distfiles/ad/ivtv-firmware-20080701.tar.gz"
MD5SUM="3a4219d698262ca2b28e41f0f547b0a2 \
b9a871f1c569025be9c48a77b3515faf"
b9a871f1c569025be9c48a77b3515faf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""