DOCS="AUTHORS COPY* NEWS README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.4.1.7 PROGNAME="gnome-libs" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gnomlibs: gnome-libs-$VERSION\n\ gnomlibs:\n\ gnomlibs: The gnomlibs package includes libraries that are needed to run GNOME.\n\ gnomlibs:\n\ gnomlibs:\n\ gnomlibs:\n\ gnomlibs:\n\ gnomlibs:\n\ gnomlibs:\n\ gnomlibs:\n\ gnomlibs:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://www.gnome.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="gnomlibs-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/gnome-libs-$VERSION.tar.bz2 ; cd gnome-libs-$VERSION for patch in `ls $CWD/*.patch.bz2` ; do bzip2 -cd $patch | patch -p1 ; done automake CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome --localstatedir=/var/lib \ --with-kde-datadir=/opt/kde/share --disable-alsa \ --enable-prefer-db1 || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { mkdir -p /usr/doc/gnome-libs-$VERSION make docdir=/usr/doc/gnome-libs-$VERSION install cp -a $DOCS /usr/doc/gnome-libs-$VERSION rm -f /usr/doc/gnome-libs-$VERSION/*.{1,3} } attributes() { echo } special() { mkdir -p $PKG/var/lib/games chown root.games $PKG/var/lib/games chmod 2775 $PKG/var/lib/games # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }