aboutsummaryrefslogtreecommitdiff
path: root/system/gdm/gdm.SlackBuild
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-11 22:26:41 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:26:41 +0200
commit0f8d117a5868b06a9cddb4fdb05634c8037c1d48 (patch)
tree60c9b5f033f854caa7192293bf3dd5893cd51611 /system/gdm/gdm.SlackBuild
parentd16f52d16bc7f4c8e88f920111d522b224a97e15 (diff)
system/gdm: Updated for version 2.20.7
Diffstat (limited to 'system/gdm/gdm.SlackBuild')
-rw-r--r--system/gdm/gdm.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/system/gdm/gdm.SlackBuild b/system/gdm/gdm.SlackBuild
index 4c25daafedeb8..f9ef8f5985aa5 100644
--- a/system/gdm/gdm.SlackBuild
+++ b/system/gdm/gdm.SlackBuild
@@ -9,7 +9,7 @@
# Script maintained by Frank Caraballo <fecaraballo{at}gmail{dot}com>
PRGNAM=gdm
-VERSION=2.20.4
+VERSION=2.20.7
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -31,7 +31,6 @@ cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
-
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -44,7 +43,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc/X11 \
- --localstatedir=/var/lib/gdm \
+ --localstatedir=/var/lib/$PRGNAM \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--program-prefix="" \
@@ -54,14 +53,14 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-shared=yes \
--enable-static=no \
--enable-ipv6=yes \
- --with-dmconfdir=/etc/X11/gdm \
+ --with-dmconfdir=/etc/X11/$PRGNAM \
|| exit 1
make || exit 1
-make install DESTDIR=$PKG
+make install DESTDIR=$PKG || exit 1
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
@@ -76,9 +75,9 @@ cp -a AUTHORS ChangeLog COPYING INSTALL MAINTAINERS NEWS README* TODO docs/C/* \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Simple session files designed to work with Slackware:
-mkdir -p $PKG/etc/X11/gdm/Sessions
-cp $CWD/Sessions/* $PKG/etc/X11/gdm/Sessions
-chmod 0755 $PKG/etc/X11/gdm/Sessions/*
+mkdir -p $PKG/etc/X11/$PRGNAM/Sessions
+cp -r $CWD/Sessions/* $PKG/etc/X11/$PRGNAM/Sessions
+chmod 0755 $PKG/etc/X11/$PRGNAM/Sessions/*
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc