aboutsummaryrefslogtreecommitdiff
path: root/system/plymouth/plymouth.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/plymouth/plymouth.SlackBuild')
-rw-r--r--system/plymouth/plymouth.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/system/plymouth/plymouth.SlackBuild b/system/plymouth/plymouth.SlackBuild
index cb617cc1e1..189516e365 100644
--- a/system/plymouth/plymouth.SlackBuild
+++ b/system/plymouth/plymouth.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for plymouth
# Copyright 2019 Marian Marinov
+# Copyright 2025 Olivier Brouckaert <olivier.b@i-services.be>, Brussels, Belgium
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=plymouth
-VERSION=${VERSION:-0.9.4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-22.02.122}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -51,16 +52,12 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
@@ -84,6 +81,8 @@ PREFIX=/usr
mkdir -p $PKG/$PREFIX/bin
./configure \
--prefix=/usr \
+--sysconfdir=/etc \
+--localstatedir=/var \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
@@ -92,7 +91,6 @@ mkdir -p $PKG/$PREFIX/bin
--with-background-color='#000000' \
--disable-systemd-integration
-
make
make install DESTDIR=$PKG
@@ -104,7 +102,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-cp -a AUTHORS COPYING INSTALL ChangeLog NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -f $PKG/usr/lib*/*.la