DOCS="AUTHORS COPYING README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y # pkginfo VERSION=0.12 PROGNAME="gtk-engines" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gtkeng: gtk-engines-$VERSION\n\ gtkeng:\n\ gtkeng: These are the graphical engines for the various GTK+ toolkit themes.\n\ gtkeng:\n\ gtkeng: Included themes are:\n\ gtkeng: Notif\n\ gtkeng: Redmond95\n\ gtkeng: Pixmap\n\ gtkeng: Metal (Java swing-like)\n\ gtkeng: Many more\n\ gtkeng:" # maintainer ARCH=i586 BUILD=3rob MAINTAINER="Robert Stan " SOURCE=http://ftp.gnome.org/pub/GNOME/stable/sources/gtk-engines/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="gtkeng-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { # build gtk-engines tar xvzf $CWD/gtk-engines-$VERSION.tar.gz ; cd gtk-engines-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 # build thinice engine tar xvzf $CWD/gtk-thinice-theme-1.0.4.tar.gz pushd gtk-thinice-theme-1.0.4 CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 popd } install() { # install gtk-engines make install # install thinice pushd gtk-thinice-theme-1.0.4 make install popd # install docs mkdir -p /usr/doc/gtk-engines-$VERSION cp -a $DOCS /usr/doc/gtk-engines-$VERSION # expand extra themes cd /opt/gnome/share/themes; tar xyvf $CWD/gtk-themes-extra-4.tar.bz2 bzip2 -cd $CWD/gtk-themes.pixmap_path.patch.bz2 | patch -p0 } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }