system/lxdm: Build agains PAM, cleanups.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2024-04-24 14:42:18 +02:00 committed by Willy Sudiarto Raharjo
parent 1b86962267
commit 536319b52d
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 9 deletions

View file

@ -2,8 +2,8 @@ LXDM - GUI login manager for LXDE
LXDM is a lightweight drop-in replacement for GDM or KDM.
By default the gtk+3 version of the greeter is built: to
build the gtk+2 one instead, the script can be run as
By default the gtk+3 version of the greeter is built: to build
the gtk+2 one instead (unsupported), the script can be run as
GTK3=no ./lxdm.SlackBuild

View file

@ -3,7 +3,7 @@
# Slackware build script for lxdm
# Copyright 2010,2011 Robby Workman, Northport, Alabama, USA
# Copyright 2012-2017 Matteo Bernardini, Pisa, Italy
# Copyright 2012-2024 Matteo Bernardini, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lxdm
VERSION=${VERSION:-20170805_e3e7517}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -73,7 +73,7 @@ INDUSLACK_VER=${INDUSLACK_VER:-20170818}
#
WITH_INDUSLACK=${WITH_INDUSLACK:-yes}
with_gtk3="" ; [ "${GTK3:-yes}" = "yes" ] && with_gtk3="--enable-gtk3"
with_gtk3="--enable-gtk3" ; [ "${GTK3:-yes}" = "no" ] && with_gtk3=""
set -e
@ -128,7 +128,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--without-pam \
--with-pam \
$with_gtk3 \
--build=$ARCH-slackware-linux
@ -171,9 +171,7 @@ if [ "${WITH_INDUSLACK}" = "yes" ] ; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING INSTALL README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE