DOCS="AUTHORS COPY* NEWS READM* TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=2.2.5.5 PROGNAME="Gnome Display Manager" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gdm: gdm-$VERSION\n\ gdm:\n\ gdm: Gdm (the GNOME Display Manager) is a highly configurable\n\ gdm: reimplementation of xdm, the X Display Manager. Gdm allows you to\n\ gdm: log into your system with the X Window System running and supports\n\ gdm: running several different X sessions on your local machine at the\n\ gdm: same time.\n\ gdm:\n\ gdm:\n\ gdm:\n\ gdm:" # maintainer ARCH=i586 BUILD=2rob MAINTAINER="Robert Stan " SOURCE=http:/www.gnome.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="gdm-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH \ -I/opt/gnome/include/libglade-1.0" compile() { tar xvyf $CWD/gdm-$VERSION.tar.bz2 ; cd gdm-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome --localstatedir=/var/lib \ --with-gtk-prefix=/opt/gnome || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install ( cd /etc/X11 ; rm -rf gdm ; ln -sf /etc/opt/gnome/gdm . ) installpkg $CWD/gdm-sessions.tgz rm -f /var/log/packages/gdm-sessions /var/log/scripts/gdm-sessions echo "/opt/gnome/bin/gnome-session" > /etc/opt/gnome/gdm/gnomerc mkdir -p /usr/doc/gdm-$VERSION cp -a $DOCS /usr/doc/gdm-$VERSION } attributes() { echo } special() { mkdir -p -m 750 $PKG/var/lib/gdm chown -R gdm.gdm $PKG/var/lib/gdm mkdir -p $PKG/var/lib/scrollkeeper cat $CWD/doinst.sh >> $CTL/doinst.sh # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo "No subpacks..." }