aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-10-30 18:31:29 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-04 16:41:37 +0700
commit83ddf3ce6827b477b22a9810ca965244c9d99003 (patch)
tree6ebbdb5bb935b0ac1162aff2d88a6bf95a20a71c /multimedia
parent4cb1cec0267af61c297b0151954e91c904c002d2 (diff)
multimedia/ivtv-utils: Download URL changed; fix.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ivtv-utils/ivtv-utils.SlackBuild18
-rw-r--r--multimedia/ivtv-utils/ivtv-utils.info6
2 files changed, 13 insertions, 11 deletions
diff --git a/multimedia/ivtv-utils/ivtv-utils.SlackBuild b/multimedia/ivtv-utils/ivtv-utils.SlackBuild
index 2203ec459121..cea9578bb852 100644
--- a/multimedia/ivtv-utils/ivtv-utils.SlackBuild
+++ b/multimedia/ivtv-utils/ivtv-utils.SlackBuild
@@ -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
diff --git a/multimedia/ivtv-utils/ivtv-utils.info b/multimedia/ivtv-utils/ivtv-utils.info
index 54422bd8e8e2..6e595f0e1b3c 100644
--- a/multimedia/ivtv-utils/ivtv-utils.info
+++ b/multimedia/ivtv-utils/ivtv-utils.info
@@ -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=""