aboutsummaryrefslogtreecommitdiff
path: root/multimedia/zvbi
diff options
context:
space:
mode:
authorBill Kirkpatrick <bkirkp@gmail.com>2022-04-22 23:46:51 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-24 01:47:10 +0700
commitbbcbd28f98848c13113206b35147f8ec43400465 (patch)
tree671c37e40727c3164276f5d8d2b4a6ffc18f2e19 /multimedia/zvbi
parentef840c9fbac50717248dec648ddbb1c423ff571e (diff)
multimedia/zvbi: Update maintainer. Template fixes.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/zvbi')
-rw-r--r--multimedia/zvbi/zvbi.SlackBuild13
-rw-r--r--multimedia/zvbi/zvbi.info4
2 files changed, 9 insertions, 8 deletions
diff --git a/multimedia/zvbi/zvbi.SlackBuild b/multimedia/zvbi/zvbi.SlackBuild
index 3e53a9fcabe98..15bdf1c3dcd6c 100644
--- a/multimedia/zvbi/zvbi.SlackBuild
+++ b/multimedia/zvbi/zvbi.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for zvbi
# Copyright 2014 Christoph Willing, Bribane, Australia
+# Copyright 2022 Bill Kirkpatrick, Bay City, Texas, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,13 +27,13 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zvbi
VERSION=${VERSION:-0.2.35}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +51,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -94,6 +95,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
+
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
@@ -105,8 +108,6 @@ cp -a ABOUT-NLS AUTHORS BUGS COPYING COPYING.LIB ChangeLog INSTALL NEWS README T
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/lib*/*.la
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/multimedia/zvbi/zvbi.info b/multimedia/zvbi/zvbi.info
index 52e404e0ecb1c..a7bf950d71037 100644
--- a/multimedia/zvbi/zvbi.info
+++ b/multimedia/zvbi/zvbi.info
@@ -6,5 +6,5 @@ MD5SUM="95e53eb208c65ba6667fd4341455fa27"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Christoph Willing"
-EMAIL="chris.willing@linux.com"
+MAINTAINER="Bill Kirkpatrick"
+EMAIL="bkirkp@gmail.com"