diff options
Diffstat (limited to 'system/gdm/gdm.SlackBuild')
-rw-r--r-- | system/gdm/gdm.SlackBuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/system/gdm/gdm.SlackBuild b/system/gdm/gdm.SlackBuild index 4c25daafed..f9ef8f5985 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 |